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

Can I generate consecutive page numbers in different reports?

Status
Not open for further replies.

mikj01

Technical User
May 31, 2001
9
0
0
CA
I have created 4 access reports(due to the limited length of the report layout), to generate one complete paper report. Can I get each subsequent access report to check the last page number from the previous report so the page numbers are continuous through the final printed report? The number of pages varies due to the amount of some of the information in the subreports.
Does this make sense?
 
You should be able to get a report's page number from the report execution and store it in a GLOBAL Variable, you need to do this on each page. On the "first" section of the report, just ALWAYS set it, on subsquent reports, READ it during the REPORT Open | Activate event and set the page Number to it. ON the FIRST page of subsquent reoprt(s), just use the stored value, on al other pages set it to teh current page number.

I haven't done this is in quite a while, so some detail will need to addded, but the concept has been used,


MichaelRed
redmsp@erols.com

There is never time to do it right but there is always time to do it over
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top