BackPrevious Page Next PageNext

Applying Parameters

When running a web report with parameters, a dialog is displayed for you to specify the parameter values. The runtime parameter dynamically controls your report result. After the report is opened in Web Report Studio, you can change the parameter values in the Parameters panel. You can also use parameter control or parameter form control to change the parameter values for the report.

The Parameters panel is available when the current web report uses parameters. It lists all the parameters used by the report.

Parameters Panel

Edit the values according to your requirement and then click Apply to make the report run with the specified parameter values.

The way to specify a parameter value varies according to the type and properties of the parameter. Here are several ways you can use to specify parameter values:

Note: You are recommended not to use blank as the thousands separator in Number-typed parameter values under French locale, otherwise your input will not be correctly recognized because of a JVM bug. For details, see http://bugs.sun.com/view_bug.do;jsessionid=c8cdaf911b20fffffffffd9fc6340b30d670?bug_id=4510618.

Below shows the usages about the other options in the panel:

Specifying multiple values for a parameter

For a parameter that allows for multiple values (the parameter's Allow Multiple Values property is true), you can specify one or more values to it.

  1. Click Enter Values in the value text box of the parameter. The Enter Values dialog appears.

    Enter Values dialog

  2. If the parameter's Enable the "All" Option property is true, the All checkbox is available and by default it is selected. It means to apply the "All" value to the parameter. When the parameter is inserted as a field into a report and All is selected as the value, the field will show the string "All". If you do not want to apply the "All" value to the parameter, deselect the All checkbox, then check the Custom option and specify the desired values as shown in the following steps.
  3. Select the required values in the Available Values box and click Add Values to add them to the Selected Values box; to add all the available values, click Add All Values. You can make use of the Search button Search button to search for the required values among the available values: click the Search button button to display the search text box, type in the keyword and the available values that contain the keyword will be listed with the keyword highlighted in the values.

    If some added values are not wanted, select them in the Selected Values box and click Remove Values to remove them; to remove all added values, click Remove All Values.

  4. When the parameter's Allow Type-in of Value property is true, you can add values for the parameter manually: click the button Add button, type in a value in the displayed text box, then press Enter to add it to the Selected Values box. When the parameter is bound with a column, but the display column is different from the bound column, make sure the value you enter is that of the bound column. After finishing adding the values manually, click Delete button in the text box to close it. If the parameter is of the Date, Time or DateTime type, you can also click the calendar button Calendar button to specify a date and time value.
  5. Click OK to select the specified values for the parameter.

BackPrevious Page Next PageNext