Many modern report generators allow you to embed another report, the so-called sub-report. Why would you do that? For example, for the convenience of designing a report. If the main report and sub-report have a different type, it is easier to create them separately.
In addition, by dividing the report in this way, you can control the structure of the report depending on the conditions. For example, you display some basic information in the main report, but depending on that data, or some parameter in the report, one of several sub-reports will be selected. This makes your report more universal. There is no need to create multiple reports on different occasions.
The user of the ActiveReports report generator was just puzzled by this problem:
I have a report with two subreports. I want to run or not run each subreport based on a condition. Is this possible?
Technic ...