poIQueryCtrl GetDataSourceList

Gets a list of the available data sources.

Syntax

poIQueryControl_handle GetDataSourceList

Application

HyperView Tcl Query

Description

This command retrieves a list of the available data sources.

Example

To get the data source list for the model:
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 GetDataSourceList

Errors

Returns a list of the data sources available, or an error code (HW_InvalidHandle) if the handle used to invoke the method is no longer valid.