Nested tables are used for several reasons.
Tables can be nested to any depth. They are created automatically by the table wizard when you group a collection. For nested collections and 1-to-many relationships nested tables are created manually.
An alternative to a nested table is a master-detail report. There each object in the outer collection starts at a new page as the master object and the inner collection becomes the main table.
There are two ways of creating a nested table:
In the screenshot above the outer table has been added.
After dropping the inner collection - the
Note: The headers of the nested table share their space with the header of the outer table. As a result they will not be repeated for each inner table. (To repeat header for inner tables see below.)
The resulting output is:
The position of a nested table is determined in the same way as for other cells added via drag and drop. If you do not want the inner table to have headers turn off headers on the style page of the table wizard. This is shown in the screenshot below.
Note: The table, text and border styles of the nested table cascade from the outer table to the nested table. Any style that is not specified (set to inherit) in the nested table will be the same as in the outer table. A style specified in the nested table overrides that of the outer table.
|Adding/Configuring Query Variables||Contents||Editing Lists|