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

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

Recommended Posts

Posted

Hello-

In the footer of my reports, I would like to display: Page No. "X" of "Y" where X is the current page and Y is the number of total pages.

I have used "Insert Page Number Symbol" for the "X" value, but how can I display the TOTAL number of pages?

Any ideas?

Thank you in advance- you all have been great...

Posted

One way, which may not be the optimized FMP7 way, is to...

1. Define a global number field called "TotalPages"

2. In your footer, add "## of <<TotalPages>>"

3. Then write a script that does something like...

Enter Preview Mode

Go to Record [Last]

Set Field [TotalPages; Get(CurrentPage)]

If your layout printed one record per page (no more, no less) you might be able to get away with using Get(FoundCount) as the "Y" part of the page count in your footer instead of the global field and the script. See which one works best.

SR

Posted

This function should be built into FileMaker Pro. Competing products have it built-in (eg. Access, Excel, Word to name a few).

FileMaker users will have to remember to add this script to every database they create, if they want the Page x of y functionality. It's a very nice (& useful) feature on reports.

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