poIQueryCtrl GetDataSourceFieldList
Gets a list of fields for the specified data source.
Syntax
poIQueryControl_handle GetDataSourceFieldList source
Application
HyperView Tcl Query
Description
This command retrieves a list of fields for the specified data source.
Inputs
- source
- The data source for which field list is to be retrieved.
Example
To get the data source field list for
"node":
hwi GetSessionHandle mySessionName
mySessionName GetProjectHandle myProjectName
set pageIndex [myProjectName GetActivePage]
myProjectName GetPageHandle myPageName $pageIndex
set windowIndex [myPageName GetActiveWindow]
myPageName GetWindowHandle myWindowName $windowIndex
myWindowName GetClientHandle myPostName
set modelIndex [myPostName GetActiveModel]
myPostName GetModelHandle myModelName $modelIndex
myModelName GetQueryCtrlHandle myQueryName
myQueryName GetDataSourceFieldList node
Errors
Returns a list of fields for specified data source, or an error code (HW_InvalidHandle) if the handle used to invoke the method is no longer valid.