This tutorial describes the steps to create a table report, which means that the report's data is arranged into a table-like layout. This feature should not be confused with the master-detail report or cross-tab report.
To create a table report, follow the steps below.
-
To add a Page Header to the report, right-click anywhere on the report's surface, and in the invoked Context Menu, choose Insert Band | Page Header.
-
Now, add two Table controls to the report's Page Header and Detail band.
To do this, in the Toolbox, click the Table icon. Then, in the Page Header's content area, click and hold down the left mouse button while dragging the mouse cursor across the Detail band.
As a result, two tables are created. One will be used as a header, and the other one - for the report's detail information.
-
Type the headers into the upper table's cells, and bind the corresponding cells in the detail section to the appropriate data fields. This can be done by simply dropping these fields from the Field List onto the cells.
-
Finally, you can customize various properties of the tables, to improve their appearance. For example, using the Property Grid you can define their Borders, as well as Background Color. To customize the cells' text options, use the Formatting Toolbar.
A noteworthy feature is the capability to specify odd-even styles for the detail table.
The table report is now ready. Switch to the Preview Tab, and view the result.