Symptom
A report is called through the Web Component Server (WCS) passing a date parameter in the URL command as seen below:
HTTP://serverName/virtualdirectory/reportName.rpt?promptex=Date(2001,01,01)
However, the report prompts for the date values as if they were not being passed to the report at all.
Why are date values not recognized through the Promptex URL command?
Resolution
The Promptex command is an enhanced version of the Prompt command used to pass parameters to a subreport or main report.
The correct syntax should be
promptex-paramName@SubReportName="Value"
with the double quotes (or promptex-paramName="value" if it is not a subreport parameter.).
All values passed to the Promptex command need to be enclosed by double quotes ("").
The report is returned correctly by using the following URL command:
HTTP://serverName/virtualdirectory/reportName.rpt?promptex-ParamName="Date(2001,01,01)"
See Also
For more information on Crystal Enterprise URL commands, see the "Report Viewer Reference" section of the Web Administrator Guide included on the Crystal Enterprise 8 CD or from our web site at on the SAP Help Portal.
Keywords
DATE FIELDS PARAMETERS PROMPTS DIALOGS PROMPTEX Seagate Crystal Reports Web Component Server Promptex command URL Commands , c2009198 , KBA , BI-RA-CR , Crystal Reports designer or Business View Manager , Problem