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

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

Recommended Posts

Posted

This is a pretty simple thing I do in Excel all the time, but I can't find a Filemaker equivalent in the documentation.

In the footer of a report, I need to show "Page 1 of 5".

The first part (current page number - "##") is easy, but I can't find something which will display the total number of pages.

Posted

It's easy, but not obvious in FM. Create a field:

gLastPage (global, number)

Place: "## of <<gLastPage>>" in your footer.

Add to your print script:

Page Setup() like normal

...

Enter Preview Mode ()

Go to Record/Request/Page (Last)

Set Field (gLastPage, Status(CurrentPageNumber))

... then

Print

Enter Browse Mode

-bd

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