Use Report Parameters

  • 3 minutes to read

Report parameters pass data to a report before it is generated in preview.

The Document Viewer displays the Parameters panel that shows editors for the visible report parameters and allows users to specify parameter values. You can also specify parameter values in code.

The Parameters panel displays the specified parameters values. Disable the report’s RequestParameters option to let the Document Viewer create a document with predefined parameter values and avoid the “Waiting for parameter values” message in Preview.

To hide the Parameters panel, disable the Parameter.Visible property for all report parameters.

The topics in this section describe how to create report parameters of different types and specify their values:

Use report parameters in the following cases:

Wherever you specify a parameter name, prefix it with the question mark character.