Merging report schema for inline reports

Inline reports are embedded into the master report. All report design is maintained in one report design document (.4rp) file.

To create a master report with inline reports:

  1. Locate the report schema (.rdd) containing the master and sub report data (see Coding for sub reports and Generate a data schema from a Genero BDL report program).
  2. From a command line, use the gsconvertrdd script to create .xsd files from the .rdd file:
    gsconvertrdd  rddfilename.rdd
  3. Create a new report design document (4rp).
  4. In the Data View for the report design document, open the .xsd file for the master report.

You can then build your inline reports in a single report design document.

An example can be seen in the the Reports demo: MasterReportInlined.4rp.

The Data View

The data for all sub reports is included, as in Figure 1.
Figure: Inline sub reports in the Data View

This figure is a screenshot of the Data View showing the content of sub reports in the data schema for the master report.

The Report Structure view

A trigger is created for each trigger in the sub reports, as in Figure 2.

Figure: Sub report triggers in the Report Structure

This figure is a screenshot of the Report Structure View showing inline sub report triggers within a master report.

Add objects and edit the report structure as required. An example is shown in Figure 3.

Figure: Sub report triggers and objects in the Report Structure

This figure is a screenshot of the Report Structure View showing inline sub report triggers and objects within a master report.