Skip to main content

Configure Query Parameters

  • 2 minutes to read

On this wizard page, you can manage parameters that are used in queries and/or stored procedures selected on the previous wizard page, as well as specify parameter values.

Specify Parameter Values

You can specify a parameter value in one of the following ways:

  • To provide a static value for a query parameter, choose the parameter type, and then, specify its actual value in the Value column according to the selected type.

    wpf-report-wizard-query-parameters-static-value

  • You can link a query or stored procedure parameter to a report parameter, whose value can be requested each time before previewing or exporting the report document. To do this, enable the Expression check box and select an existing report parameter of the corresponding type or create a new one.

    wpf-report-wizard-query-parameters-report-parameter

  • Another option is to calculate a parameter value based on an expression. To do this, enable the Expression check box and run the Expression Editor by clicking the ellipsis button.

    wpf-report-wizard-query-parameters-expression-editor

Manage Parameters

To delete a specific parameter, select it on this wizard page and click Remove.

To execute a specific query with the specified parameter values, click Preview and select a query.

wpf-report-wizard-query-parameters-preview-button

To create a new query parameter, click Add and select a query.

You can stop the wizard at this step by clicking Finish.

To continue report customization, click Next to proceed to the next wizard page: Choose Fields to Display in a Report.