To retrieve a parameter from a report, use the ReportParameters Collection of the Report Object.
Note: Obtain the report object by using the PluginInterface Property.
Set Result = InfoStore.Query("Select Top 1* From CI_INFOOBJECTS Where" & _
"SI_PROGID = 'CrystalEnterprise.Report'")
Set ReportObject = Result.Item(1).PluginInterface
Response.Write ReportObject.ReportParameters.Item(1).ParameterName
Crystal Decisions, Inc. http://www.crystaldecisions.com Support services: http://support.crystaldecisions.com |