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!

Cross-Tab going on multiple pages

Status
Not open for further replies.

SonOfZeus

Programmer
Mar 6, 2002
53
CA
When I created an invoice report, a cross-tab subreport was at times going to a second page. Is there a way to carry across the page header for the invoice, and add this to the overall page count of the report, numbering it as one goes?
 
You might use a faux group in the subreport for a page header as subreports don't have them:


As for the page numbering, you can control it manually using a shared variable if you'd like:

Report header of main report:
whileprintingrecords;
numbervar MyPageCount:=0;

Page footer of main and subreports to display the page:

Report header of main report:
whileprintingrecords;
numbervar MyPageCount:=MyPageCount+1;
MyPageCount

-k
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top