Master report and subreport communication
- by Dave Jarvis
How do you determine whether the content for the detail page being displayed is filled by a specific subreport?
For example, consider two subreports on the same master report, using different detail bands:
Detail 1
Detail 2
The header on the master report should show certain fields on pages where the subreport in the Detail 2 band is printed.
A Return Value from the subreport in the Detail 2 band only seems to be set after the report has finished, even though the Reset type for the variable (in both the master and the subreport) is set to Page. (Setting it to Report also does not help.)