I am modifying our sales orders so that an agreement page prints following the sales order. This agreement is build into the report footer and should not include any page headers or page footers. I have unconditionally suppressed all page footers at this time.
I have tried to suppress the page header with 'onlastrecord'. This works provided the sales order has multiple lines. If only one line item exists, then the header is suppressed on the first (sales order) page and on the agreement (last) page.
I have also tried to suppress the header with 'pagenumber = totalpagecount'. This causes the report footer to begin printing on a page with a page header and finishing on a second page with no header. I have checked the box to 'keep together' on the report footer. I have also checked the 'new page before' box on the report footer.