Retrieving parameters from a report

To retrieve a parameter from a report, use the ReportParameters Property of the Report Object. You access the Report Object by using its plugin interface. Use the InfoObject's PluginInterface Property for this purpose.

Example

Result = IStore.Query("Select Top 1* From CI_INFOOBJECTS Where SI_ID = " + ReportID);

// Retrieve the InfoObject.

ReportObject = Result.Item(1);

// Retrieve the report interface.

ReportInterface = ReportObject.PluginInterface("");

Response.Write(ReportInterface.ReportParameters.Item(i).ParameterName);



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