Then in the Property Editor, scroll down to
Advanced, and select Content. Change each Label to an appropriate title.
Chapter 5
[ 93 ]
6. Select the Row from the Outline view, under Body\Header\Row. In the
Property Editor, choose the Font category, and change it to Bold.
7. In the Layout Editor, click on the Detail cell under the Payment Amount
column. Under the Property Editor, under the Format Number category set
the Format as property to Currency. Click on the Use 1000s separator check
box, and select $ for the Symbol.
Working with Data
[ 94 ]
8. Now, we want to add an aggregation for the Payment Amount column. New
in BIRT 2.2 is a quick component that will do aggregates for you. You can
drag the Aggregation component over from the Component Palette. Drag
the component over to the Footer Row, in the Payment Amount column.
9. Enter the following information:
Column Binding Name: agrPaymentTotal
Display Name: Payment Total
Data Type: Any
Function: SUM
Data Field: select PaymentAmount from the drop-down list.
10. Click on the agrPaymentTotal component, and format it as Currency.
11. Click on Preview under the Layout Editor.
Chapter 5
[ 95 ]
So, creating a simple report that way is easy enough; but how would we do so
manually? Well, that's exactly what we are going to do next.
Creating Tables Manually
We want to create a table right below this one, with the information from the
dsetOrders.
Pages:
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108