Previous Next

Task 5:  Lay out the report

In this procedure, you insert elements in the report page to display the data from the data set that you created previously. You start by inserting a table element, then you insert data elements in the table. It is important to understand the functionality that the table provides. The table:

*
*
1  
2  
3  
*
*
*
Choose OK. A table appears in the layout editor.
4  
5  
6  
Drag CUSTOMERNAME from Data Explorer, and drop it in the first cell in the table’s detail row, as shown in Figure 1-14. The detail row displays the main data in the report. In the generated report, the detail row repeats to display all the data rows from the data set.

Figure 1-14 Dragging a column from Data Explorer, and dropping it in a table cell

Figure 1-14  Dragging a column from Data Explorer, and dropping it in a table cell
In the layout editor, the table cell in which you dropped the CUSTOMERNAME field contains a data element that displays [CUSTOMERNAME]. Above this data element is a label element that the layout editor automatically added to the header row. This label displays the field name as static text. It serves as the column heading. Figure 1-15 shows the data and label elements.

Figure 1-15 Data and label elements in a table

Figure 1-15  Data and label elements in a table
7  
8  
9  

Figure 1-16 Customer and contact information added to a table

Figure 1-16  Customer and contact information added to a table
10  
As Figure 1-17 shows, the data is correct, but it appears in random order. It makes more sense to sort the data alphabetically by customer name. The report’s appearance also needs improvement.

Figure 1-17 Preview of report data

Figure 1-17  Preview of report data

(c) Copyright Actuate Corporation 2013