Generating reports : Specifying job parameters : Supplying a parameter value : Specifying values for multiple value parameters

Specifying values for multiple value parameters

Multiple value parameters are drop-down lists or radio lists only. The values you select in a multiple value parameter restrict the resulting report data to the elements with the selected values for that parameter. For example, you could select only specific years from a multiple value parameter for years so that only data from certain years is generated for the report.

Specifying a value for an ad hoc parameter

The value of an ad hoc parameter modifies the WHERE clause of a SQL query that a report developer creates. You specify a single value or an expression. When using an expression, you specify a list or range of values. Other parameters accept only single values.

When you use Query by Example (QBE) syntax, the application reads the QBE expression and adds the corresponding SQL code to the query. You can use QBE syntax to build the following types of expressions:

n  
n  
n  
n  
Some locales also accept a comma as a list separator.
n  

A value in a QBE expression must match the data type of the data source column to which it applies. For example, you must use a numeric value in a QBE expression that filters a numeric column. Do not apply formatting to a report parameter value. If the application cannot convert a value in a QBE expression to the data type that the data source requires, <ERROR> appears in the SQL code.