Jump to content

Printing a report with total number of pages


AAHH
 Share

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

Recommended Posts

OK... here you go.

First you'll need a global number field to temporarily store the number of pages. This field will be the Y part of the "Page X of Y" merge string. Example: Page ## of <<gPageCount>> where gPageCount is global field name.

Next perform the find, sort and layout script steps necessary for your report.

Now enter Preview Mode and go to the Last page.

And finally set the "gPageCount" field the the Current Page Number.

The script will look something like this depending upon your actual choice and field name, find and sort settings and layout name.

-----------------------------------------------

Perform Find [Restore find requests, Replace Found Set]

Sort [Restore sort order, No dialog]

Go to Layout [Report]

Enter Preview Mode[]

Go to Record/Request/Page [Last]

Set Field [gPageCount, Status(CurrentPageNumber)]

Let me know how this works out... you should do fine.

Link to comment
Share on other sites

This topic is 6481 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
 Share

×
×
  • Create New...

Important Information

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