Jump to content

Page numbering : Page # of ##


cinolas

This topic is 7925 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Yes, it's easy.

Create a calculation field (UNSTORED) that captures the pagenumber.

cPagenum = status (CurrentPageNumber)

Make the following script

Script name: PTR_define_lastpage

Enter Preview Mode

Go to Record/Request/Page [ Last ]

Set Field [ gPagetotal, Status(CurrentPageNumber) ]

Enter Browse Mode

The global gPagetotal now captures the last pagenumber because you instructed in preview mode to go to the last PAGE

Run this script just before you gonna print, applying to the right lay-out to be printed of course.

With the fields cPagenum and gPagetotal you can do the trick

Page # of ##. Place this in the footer of the lay-out to print.

Good luck

Harryk

Link to comment
Share on other sites

This topic is 7925 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.