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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Suppressing Page Header

Status
Not open for further replies.

mathu17

Technical User
Feb 2, 2012
7
CA
I have a subreport in the report footer and the subreport is suppressed if its blank. i need to suppress the page header when the subreport is printed. I tried conditional formatting using "ONLASTRECORD", but the page header is suppressed on the last page of the report. Basically i need all by pageheader in the report and only suppressed when the subreport is printed.

any help is appreciated . working with CRXI.
 
Create these formulas:

//{@false} to be placed in the report header and suppressed:
whileprintingrecords;
booleanvar flag := false;

//{@true} to be placed in the report footer and suppressed:
whileprintingrecords;
booleanvar flag := true;

Then go into the section expert->page header->suppress->x+2 and enter:

whileprintingrecords;
booleanvar flag;
flag=true; //note no colon

-LB
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top