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 specify static report parameter values for users to select

This procedure assumes that you already created at least one report parameter in your report design.

Edit Parameter displays the Selection values table and the Import Values button, as shown in Figure 12‑12. The Selection values table is where you specify the values to display in the list box, combo box, or radio buttons.

Figure 16-14 Selection values field and Import Values button in Edit Parameter

Choose Import Values. Import Values displays the first data set in the report and the values of the first field in the data set, as shown in Figure 12‑13.

Figure 16-15 Import Values

Figure 12‑13
In Select Data Set, choose the data set that has the field values you want to display in the list box, combo box, or radio buttons. Typically, this data set is one that you create specifically for populating the parameter’s list of values.
In Select Column, choose the field that contains the values to use. Import Values displays the values for the selected field.


Figure 16-16 Imported values in Edit Parameter

In Value, type the value to pass to the SQL query or the filter condition. Figure 12‑15 shows an example of a user-defined value that appears as All Customers on the Enter Parameter dialog when the user runs the report. When the user selects this value, % is passed to the SQL query.

Figure 12‑15
On Edit Selection Choice, in Display Text, type the text that you want to display to the user. Figure 12‑16 shows an example of displaying United Kingdom instead of UK.

Select None, the default, to display the values in natural order, which is the order of items in the Value column of the Selection values table.

(c) Copyright Actuate Corporation 2009

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