ITableSet Interface
This is a read-only interface that retrieves information about the set of tables used in a particular report. Information about each tablefor example the table name and alias nameis stored in an array; this array is considered to be the tableset. To retrieve this interface, use the GetInterface Function or the GET_TABLESET_INTERFACE Macro.
Subreports are processed individually from the main report, which means that the processing extension may receive numerous calls for the same report object ID. However, for each call, the report context may change. For example, if the user is viewing the main report, then IProcessRequest is called with the report context of the main report. Any requests for the report ID, title, or tables will return the main report's information. If the user drills down on a subreport, then IProcessRequest is called with the report context of the subreport, and the subreport's information is returned. Use the GetReportTitle Function to determine whether the report being processed is the main report or a subreport.
See Also
Example
Variables and Functions
Variables and Functions
| Description
|
hITableSet Variable
| A handle to the ITableSet interface. You need to pass this handle to each function in the interface that you use. Read-Only.
|
NumOfTables Function
| Retrieves the number of tables currently being used by the report being processed.
|
GetTableName Function
| Retrieves the name of a table currently being used in the report being processed.
|
GetAliasName Function
| Retrieves the alias name of a table that is currently being used in the report being processed.
|
SearchByName Function
| Uses the table's name to search for a table in the report.
|
SearchByAlias Function
| Uses the alias name to search for a table in the report.
|