Providing Values for Query Parameters
When you run a report, that uses variables, the user will be asked to supply values for these variables. A dialog appears, that prompts for these variables. If the variables are all single line values (Numbers, Dates, Strings), then a simple dialog will appear. If query variables require selection from a list, then the variable input dialog will use a wizard based layout.
Query variables are introduced by filters or formulas. To see how a query
variable is defined see
The variable values are reused when you refresh a report from the run template.
When you use interactive picks or selections (i.e. the user selects elements from the database interactively) ReportWeaver displays a wizard for variable input.
Single item picks return a single object, not a collection. They are introduced in view definitions.
When you run reports from the API you can also pass variable values via the
API. Any requred variable that has not been set in the call is then queried
from the user. For details see
If you are running in a non interactive environment (headless/server side), then an exception is thrown if not all variables have been set through the API.
|Viewing Reports||Contents||Exporting Data|