A report that is inserted into a report is referred to as the subreport. Subreports are inserted and managed just like a component in a primary report, but a subreport itself is created and managed just like a primary report. You can specify relationships between the primary report and the subreport as well as have JReport pass values to the primary report or the subreport. A primary report can have more than one subreport.
This section describes the following topics related to subreports:
See an example: The SampleComponents catalog, included with JReport Designer, contains reports that have examples of how each component type could be used in a report. For the subreport examples, open <install_root>\Demo\Reports\SampleComponents\Subreport_*.cls
.