Query.dataSourceTable Method

Returns the data source that has the specified table assigned to it.

Syntax

public QueryBuildDataSource dataSourceTable(TableId table, [int occurrence])

Run On

Called

Parameters

  • occurrence
    Type: int
    An integer that is used when more than one data source uses the specified table ID; optional. The default argument is 1, specifying the first (and typically only) instance.

Return Value

Type: QueryBuildDataSource Class
The data source that has the specified table assigned to it.

Remarks

The data source can also be retrieved by calling the dataSourceNo method or dataSourceName method.

See Also

Query Class

Query.dataSourceNo Method

Query.dataSourceName Method