Last post Apr 02, 2020 04:59 AM by Rion Williams
Mar 12, 2020 02:31 PM|jsshivalik|LINK
I have Main Report and subreport in Report Footer (h) of Main Report . I don't want to print Page Header of Main Report in Sub Report
Apr 02, 2020 04:59 AM|Rion Williams|LINK
You might be able to take an approach similar to
the one mentioned here, which involves defining a variable that could toggle when to suppress a child header, specifically around the use-case of printing:
Insert a new formula in the first section of the report (report header a): global booleanvar no_header := false;
Insert a new section right above the subreport section with effectively 0 height.
Insert a new formula in this section: global booleanvar no_header := true;
Insert a new formula in the subreport section: global booleanvar no_header := false;
In your page header conditional suppression formula enter formula: global booleanvar no_header;
global booleanvar no_header := false;
global booleanvar no_header := true;
global booleanvar no_header;
There are a few other alternative approaches mentioned in that thread, but hopefully something will work for you.