Updating a filter condition when the report runs
Typically, when you specify a filter condition to display only certain data in a report, you specify the value on which to search, as in these examples:
row["quantityinstock"] Less than 500
row["productvendor"] Equal to "Exoto Designs"
To enable a user to filter data when the report runs, specify the report parameter value as the filter value. The following expressions are examples of filter conditions for which values are set to report parameter values:
row["quantityinstock"] Less than params["RP_quantityinstock"].value
row["productvendor"] Equal to params["RP_productvendor"].value
When the user runs the report and supplies a value for the report parameter, BIRT dynamically updates the filter condition with the parameter value and generates a report that displays only the specified data.