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
A parameter value can specified in one of the following ways.
Parameters can be assigned static values (according to the specified parameter type), which is illustrated in the following image.
Alternatively, you can link a query or stored procedure parameter to a report parameter, whose value can be requested each time before the report document is to be previewed or exported. To do this, enable the Expression check box and select an existing report parameter of the corresponding type or create a new one.
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.
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.
When previewing a query or stored procedure result, only 1000 first data rows are displayed. If a query contains a custom SQL, the entire result set is obtained.
To create a new query parameter, click Add and select a query.