Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×
The Claris Museum: The Vault of FileMaker Antiquities at Claris Engage 2025! ×

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

Recommended Posts

Posted

When printing a form I have the page number inserted. How do you count the total number of pages you are going to print so you can have Page 1 of 3 inserted?

Phil

Posted

You need a global [number] field called --lastpagenumber. Then create a script that goes to preview mode of the layout that needs to show the number of pages.

Script:

Enter preview mode[]

Go to layout [the one with no of pages needed]

Go to record/request/page [ last]

Set field [

Posted

Status{currentpagenumber) has been replaced with Get(PageNumber) in vs. 7. This goes in the Specify calculated result after you've selected the Lastpagenumber field with Set Field [].

As indicated, Lastpagenumber is a global field you set with script. "" signifies the Operator which produces a null result. In other words, clears the field.

BTW, you mention FORM. If you are on a form layout, you can use Get(FoundCount) to give you the total number because records are pages in Form View. Otherwise, yes, you'll need script to find the last page for reports.

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