Subreports

Subreport is a report inserted as an object to another report called primary report. Subreports can be used for combining unrelated reports into a single report or to present different views of the same data in one report. There are two types of a subreports:

  • Unlinked subreport - their data is not combined with the data of the primary report
  • Linked subreports - data is this report is matched up with data in primary report

To insert a subreport into another report you need to:

  • Click Insert tab, than select Subreport. You can also use Insert Subreport button from the top toolbar.
  • In the Insert Subreport dialog box select Choose an existing report radio button to insert existing report or select Create a subreport with a Report Wizard to create new one. Check On-demand subreport (similar to a hyperlink) if you want to have the ability to refresh data on the subreport.
  • If you selected "Choose an existing report", browse and open a file you want to insert.
  • If you have selected "Create a subreport with a Report Wizard" type in the name of a new report and click Report wizard button to create it. The process of creating subreport with a Report Wizard is similar as creating a standard report.
  • Put the object frame in the section you want to insert subreport in by clicking once. You can see there is a label of the subreport on the primary report.

Insert a new subreport

If you want to preview whole subreport that is a part of a primary report you need to:

  • Click on the tab that is labeled subreport's name
  • Select View tab and click Print Preview or simply click Print Preview button on the toolbar. A preview of the report will be generated