Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Sub-Report displaying Main Reports' Page Header

Status
Not open for further replies.

JSMITH242B

Programmer
Mar 7, 2003
352
GB
Hi Group,
Is is possible to suppress the Main Reports Page Header on a sub-report? I have headings specific to the sub-report and do not want the Main Reports' Page Header displaying.

I only want it displayed for the Main Report only.

TIA
Jackie
 
OK, I just tested this and it works.

In the main report page header suppression formula, place the following:

whileprintingrecords;
shared booleanvar suppressme;

In the subreport, I created a formula containing the following and placed it in the report header (though the report header is suppressed).

whileprintingrecords;
shared booleanvar suppressme;
suppressme := true

-k
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top