Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Mail Systems
Eclipse Documentation

How To Guides
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Problem Solutions
Privacy Policy




Eclipse BIRT Report Developer Guide
Previous Page Home Next Page

Previous Next

How to update a filter condition dynamically when the report runs

This procedure assumes that you already created a report design that contains a table or list to display data from a data set and uses one or more report parameters. This procedure uses the parameter to filter the values that the table displays.

In the layout editor, select the table element or list element to filter. The property editor displays the properties of the selected table or list.
Figure 12‑5 shows an example of a selected table and its properties.

Figure 12-5 Table properties

Figure 12‑5

Figure 12-6 The Filters page in Property Editor

In the first field, select a field from the drop-down list. Alternatively, open the expression builder to create a more complex expression.
In the third field, specify the name of the report parameter that you created. You can use the expression builder to select the report parameter from the list of report parameters in the report design, as shown in Figure 12‑7.

Figure 12-7 Using the expression builder to select a report parameter

Choose OK to apply the expression to the filter condition. New Filter Condition displays the completed filter condition, as shown in Figure 12‑8.

Figure 12-8 A filter condition

Figure 12‑8

Figure 12-9 Filter condition set to a report parameter

Figure 12-10 Enter Parameters showing a report parameter

(c) Copyright Actuate Corporation 2009

  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire