Skip to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Count pages

Featured Replies

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.

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.

  • Author

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

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

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.

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. :)

  • Author

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 :)

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.