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

Absolute page number when using page MofN

Status
Not open for further replies.

clevelandjwb

Programmer
May 18, 2004
28
0
0
US
Is it possible to track the absolute page number while using the page MofN feature ( and resetting the page number based on a certain grouping). We produce a large number of statements with one run of the report program. The report is about 2,000 pages and occasionally we need to reprint a page or restart the print job. It would be handy on the report to be able to print what Windows would recognize as the page number (i.e. sheet number) as well as the page 1 of 3 that goes on in each individual report.

Thanks

 
Dear Clevelandjwb,

To get the real "absolute" page number as you go along then you can do the following two formulas:

//formula 1
//placement: Report Header
whileprintingrecords;
numbervar actual := 0;
actual
//end formula 1

//formula 2
//placement: page footer

whileprintingrecords;
numbervar actual := actual + 1;
actual
//end formula 2

Hope that helps,

ro



Rosemary Lieberman
rosemary-at-microflo.com, Microflo provides expert consulting on MagicTSD and Crystal Reports.

You will get answers more quickly if you read this before posting: faq149-3762
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top