Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

Printing Page Numbers


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

Recommended Posts

Posted

How do I easily print the number of total pages in a report....ie

"Page 1 of 3 Pages" .. I have the "Page 1 of" working - easy enough but need the magic answer for the second part....3 pages.

THanks

Posted

Define a field to store the last page, say, gLast_Page_Number.

Then create a script similar to the following:

Freeze Window

Go to Layout "Print Layout"

Enter Preview Mode

Go to Record/Request/Page Last

Set gLast_Page_Number, Status(CurrentPageNumber)

Enter Browse Mode

Go to Layout [Original Layout]

Refresh Window

Add the gLast_Page_Number to your Print Layout wherever you'd like. You can incorporate the above script into your existing Print script.

Hope this helps!

This topic is 8345 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.