Jump 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.

Total Pages in a Layout

Featured Replies

  • Newbies

Instead of just listing the current page number in the header of a report, I need to list page 1 out of X where X is the total number of pages in the report.

I could not find a function to calculate total pages in report. Is there such a function. Or does someone have a good formula or work-around for this.

My client sends our multi-page proposals and wants to be sure the recipient knows when pages are missing.

Thanks

Version: v6.x

Platform: Windows 2000

Enter Preview Mode [ ]

Go to Record/Request/Page [Last]

Set Field [gPages, Status(CurrentPageNumber)]

Go to Record/Request/Page [First]

Put <<## of gPages>> on your header part.

  • 2 weeks later...
  • Author
  • Newbies

Thanks. Your script works nicely on the first page of my report. I use a title header on the first page. Once page one, however, I get the correct page number but gPages comes up blank.

I added a dialogue box to the script for testing purposes and it reports the correct value for gPages.

In browse mode, gPages also shows the correct value. In preview mode, though, it comes up blank -- except in the title header on page 1.

Der. Try ## of <<gPages>>.

I'm surprised if that worked on the title header and not the rest, unless you typed it differently on the two.

  • 2 weeks later...

Did you define gPages as a Global field?

I hope you didn't use it in a Title Header; that only prints once, doesn't it?

Create an account or sign in to comment

Important Information

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

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.