Understanding Sub Reports in Report Designer

Understanding Sub Reports in Report Designer

The articles in this section of the Knowledge Base involve working with the Sub Report component for display in your reports. To access the Report Designer, select Toolbox Setup > Design Reports > Design (Report Type) Report. Select New Report to design a report from scratch or New Report from Existing. Select Designer to open Report Designer.

From this screen, add a Sub Report component to your report, or edit an existing sub report component.


Fig. 01 – Sub Report

It is possible to display a report within the current report using the Sub Report component. When a report with Sub Report components is rendered, the report engine builds all the nested reports and place them within these components.


Fig. 02 – Sub Report Components Example

Sub Reports can be placed on:

  1. Panels
  2. Pages
  3. Bands

A report to display in the rendered report using the Sub Report component can be obtained:

  1. From a file (*.mdz, *.mdc, *.mrz, *.mrt)
  2. From within the Report Designer, by designing the Sub Report on the added page.
  3. By Hyperlink (*.mdz, *.mdc, *.mrz, *.mrt)
  4. From Report Resources (*.mdz, *.mdc, *.mrz, *.mrt)
The Sub Report component can be placed within another Sub Report. This means the Sub Reports can be nested an unlimited number of times.