IReportInfo Interface

See Also   Example  

This is a read-only interface that retrieves information about the report or subreport that is being processed. To retrieve this interface, use the GetInterface Function or the GET_REPORTINFO_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.

Variables and Functions

Variables and Functions Description

hIReportInfo Variable

The handle to the interface. You need to pass this handle to each function that the interface supports. Read-Only.

GetReportTitle Function

Retrieves the title (or name) of the report or subreport.

GetReportID Function

Retrieves the ID of the report that is currently being processed.



Crystal Decisions, Inc.
http://www.crystaldecisions.com
Support services:
http://support.crystaldecisions.com