How can I supress my page headers at the end of my reports that have cross tabs. The problem comes in when my cross tabs have an unknown number of pages. Is there a way to supress page headers in certain sections?
A simple solution is to insert a page break before the section containing the crosstab and then use a suppression formula on the page header section:
onlastrecord
The only time this will not work perfectly is if on the last page of the main body of your report you have one detail record showing--then it will have no page header.
A surefire solution is to create two formulas:
//{@false} to be placed in the report header:
whileprintingrecords;
booleanvar flag := false;
//{@true} to be placed in the section containing the crosstab:
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
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.