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.

Page 1 of X

Featured Replies

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

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 [

  • Author

These 2 lines are giving me trouble:

Set field [

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.

  • Author

Thanks. Get(FoundCount) did what I wanted.

Phil

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.