This will be the second
row and the first column.
The BIRT Environment and Your First Report
[ 50 ]
12. You will notice that when you do this, the header row also gets an element
placed in it called EMPLOYEENUMBER. This is the Header label. Double-
click on this cell and it will become highlighted. We can now edit it. Type in
"Employee ID."
13. Drag and drop the LASTNAME, FIRSTNAME, and JOBTITLE to the detail
cells to the right of the EMPLOYEENUMBER cell.
14. Now, we want to put the header row in bold. Under the Outline, select
the Row element located under Body/Table/Header. This will change the
Property Editor. Click on Font, and then click on the Bold button.
Chapter 3
[ 51 ]
That's it! We have created our first basic report. To see what this report looks like,
under the Report Designer pane, click on the Preview tab. This will allow you to get
a good idea of what this report will look like. Alternatively you can actually Run
the report and get an idea what this report will look like in the BIRT Report Viewer
application, by going up to File/View Report/View Report in Web Viewer. This
option is also available by right-click on the report design file under the Navigator,
and choosing Report followed by Run.
Although it may be a simple report, this exercise demonstrated how a report
developer can get through the BIRT environment, and how the different elements of
the BIRT perspective work together.
Pages:
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71