If you are unable to create a new account, please email support@bspsoftware.com

 

ParamValue() of Prompt different for ReportService and BatchReportService

Started by Jerome T, 25 Nov 2010 01:01:33 AM

Previous topic - Next topic

Jerome T

Hi all !

I've a report with a prompt page. This prompt page includes a value prompt with different data items for "Use Value" (a MUN) and "Display Value" (a Text "Select").
The default selection is set to "Select", so the MUN is chosen automatically.
In the report page I use this prompt with promptValue() as a report expression.

Running the report out of Report Studio gives me the MUN in the report page (like it should be).
Here is the funny thing:
Running the report as a job returns the Text "Select" instead of the MUN!
I remained all the default values in the job. If I manually set the default prompt values of the report in the job, I get the MUN again.

Does anyone know how to get the "real" promptValue() by using a job without setting the default values in the job and only taking the default selection in the property of the value prompt?

Hope someone can help me.
Cheers, Jerome