trilian
asked on
Supress Page Header on Subreport in Group Footer but Not Multiple Report Main Pages
Using Crystal Reports ver 2106 sp 6
Report Header is suppressed.
There is a main report and one subreport in the Group Footer.
The report is used to print multiples of invoices with a Summary page.
The summary page prints after each printed invoice.
The Summary page holds specific information and different page orientation.
I need the Page Header to print on all pages of invoices but not when the Group Footer with the Subreport Summary page prints.
I have entered the code below.
This works to stop the Page Header listing on the Subreport Summary page and this is good.
Problem -The Page Header from the Main report prints only on the first invoice not the subsequent invoice pages.
In the report header add a formula
WhilePrintingRecords;
Global BooleanVar SuppressPageHeader := False;
""
In the group header add a formula
WhilePrintingRecords;
Global BooleanVar SuppressPageHeader;
SuppressPageHeader := False;
""
In the group footer add a formula
WhilePrintingRecords;
Global BooleanVar SuppressPageHeader;
SuppressPageHeader := True;
""
Right click the page header in the left margin
Click SECTION EXPERT
Click the FORMULA BUTTON to the right of SUPPRESS
WhilePrintingRecords;
Global BooleanVar SuppressPageHeader;
SuppressPageHeader
Report Header is suppressed.
There is a main report and one subreport in the Group Footer.
The report is used to print multiples of invoices with a Summary page.
The summary page prints after each printed invoice.
The Summary page holds specific information and different page orientation.
I need the Page Header to print on all pages of invoices but not when the Group Footer with the Subreport Summary page prints.
I have entered the code below.
This works to stop the Page Header listing on the Subreport Summary page and this is good.
Problem -The Page Header from the Main report prints only on the first invoice not the subsequent invoice pages.
In the report header add a formula
WhilePrintingRecords;
Global BooleanVar SuppressPageHeader := False;
""
In the group header add a formula
WhilePrintingRecords;
Global BooleanVar SuppressPageHeader;
SuppressPageHeader := False;
""
In the group footer add a formula
WhilePrintingRecords;
Global BooleanVar SuppressPageHeader;
SuppressPageHeader := True;
""
Right click the page header in the left margin
Click SECTION EXPERT
Click the FORMULA BUTTON to the right of SUPPRESS
WhilePrintingRecords;
Global BooleanVar SuppressPageHeader;
SuppressPageHeader
ASKER
The group header is hidden/suppressed
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
mlmcc