In my report, I need to suppress to sections of a page header on the last page. In the last page, i am showing group footer and I don't need this page header.
Please help
Just to clarify. If entered in format section->detail->suppress, "OnLastRecord" will suppress page headings on a page which holds ONLY the last record AND on all subsequent pages. If the last page with detail records has more than one record, the page header will NOT be suppressed.
Because of "keep together" used on report sections and groups, it is rare to find an orphaned detail (which needs the page header to display), so I take the tiny risk of using "OnLastRecord" to suppress subsequent page headers, e.g., if I have "new page before" checked for two or more different group footers which display after the final detail.
If you have only one page after the final detail, the pagenumber = totalpagecount is the best way to go--if you know there will be no details on that page.
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.