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

You use a list element to create the master report and organize the orders and payments subreports within it. The list iterates through the customer data rows and creates the related orders and payments subreports for each record. For the sake of simplicity, the customer report displays just the customer name. It can, of course, display additional data, such as customer address, phone number, and credit limit.

Figure 13-8 List element

Figure 13‑8

Figure 13-9 Binding information for the list element

Choose Data Explorer, expand Data Sets, then expand Customers. The columns that you specified in the query appear below Customers.
Drag CUSTOMERNAME from Data Explorer, and drop it in the detail area of the list. Figure 13‑10 shows what the report design looks like so far.

Figure 13-10 Data-set field in the list element

Choose Preview to preview the report. The report should look like the one shown in Figure 13‑11. The report lists all the customer names in the order in which the data set returns them.

Figure 13-11 Data preview for the master report

In the layout editor, select the list element. Hover the mouse pointer over the bottom left corner until you see the List tab, then choose the tab.

Figure 13-12 Sort definition

Figure 13‑12

Figure 13-13 Sort expression

Figure 13‑13

(c) Copyright Actuate Corporation 2009

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