ActiveReports 8
Subreport in a CPL Report
Show AllShow All
Hide AllHide All

You can create a CPL report that contains a subreport. This walkthrough illustrates how to create a report using a subreport.

The walkthrough is split up into the following activities:

Note: This topic uses the Employee, Sale and SaleDetails tables in the Reels database. By default, in ActiveReports, the Reels.mdb file is located at [User Documents folder]\ComponentOne Samples\ActiveReports 8\Data\Reels.mdb.

On completing this walkthrough you get a layout that looks similar to the following at design time and at run time.

Design Time Layout

Runtime Layout

 

To add a report for the subreport

To connect the subreport to a data source

To add a report parameter to the subreport

To add a dataset with a parameter to the subreport

To add controls to display data on the subreport

To add data fields to the Table data region

To create the main report

To connect the main report to a data source

To add a dataset to the main report

To add controls to display data on the main report

To view the report

Support Forum