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 5019 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

I have created a simple cover sheet for faxes.

I would like to automatically calculate how many pages the fax will be and insert this

calculation onto the fax cover sheet.

Is there any easy way around this other than manually going into print preview and scrolling

through the pages until you find the page numbers and then manually entering this value?

Thanks in advance

Milton.

Posted

enter preview mode, go to the last page, use the Get( PageNumber ) function and insert this value into a global field that is displayed on the fax sheet.

Posted

enter preview mode, go to the last page, use the Get( PageNumber ) function and insert this value into a global field that is displayed on the fax sheet.

Thanks for that Vaughan.

When I tried it I get the answer of 3 whether the fax has 1 page or 2 pages etc.

I have attached the script I setup.

Milton.

Page numbers.jpg

Posted

Thanks for that Vaughan.

When I tried it I get the answer of 3 whether the fax has 1 page or 2 pages etc.

I have attached the script I setup.

Milton.

I use the technique described by Vaughan often and it always works. Perhaps you should post your code.

RW

Posted

Use Set Field[] instead of Insert Calculated Result[]. Insert Calculated Result[] cannot work in Preview mode. That doesn't mean you should be using it Browse mode either - Set Field[] is (almost) always preferable.

Also make sure that field is global.

Posted

enter preview mode, go to the last page, use the Get( PageNumber ) function and insert this value into a global field that is displayed on the fax sheet.

You can also use a merge variable as Page ## of <<$pg>>.

Set Variable [ $pg ; Get ( PageNumber ) ] when on last page. :)

Posted

Use Set Field[] instead of Insert Calculated Result[]. Insert Calculated Result[] cannot work in Preview mode. That doesn't mean you should be using it Browse mode either - Set Field[] is (almost) always preferable.

Also make sure that field is global.

Thanks Comment........works a treat :)

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