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.

1 of page numbering

Featured Replies

I need a page numbering syntax on a report to report "1 of 10" for the current page of the number of all pages. I have the (## of ) part down, I just don't remember how to get the total pages variable.

Thanks

You can only achieve this via a script and a global field...

Freeze Window

Enter Preview Mode[]

Go To Record / Page[ Last ]

SetField[ table::gLastPage ; Get(PageNumber) ]

Go To Record / Page[ First ]

Then for your merge field down the bottom just use Page ## of << table::gLastPage >>

Edited by Guest

  • Author

Thanks for the quick reply.

  • 2 weeks later...

Genx!

You're the one who asked me on another forum why I didn't want to use FMP instead of Word for mail merge. Your reply above is a better answer than I could have come up with. The problem with FMP is you have to write scripts to make it a halfa$$ed word processor.

Don't get me wrong, I sincerely appreciate your expertise and especially your willingness to help. If you ever have any organic gardening questions or need to buy some mineral rights in Texas, write to me.

I *have nothing against word processors, I just think that in a lot of cases (and for most people), the capabilities of FM are full featured enough (or the people who ask the question should at least be given the option of the knowledge that their problem can sometimes be solved natively within FM)... e.g. for the composition of letters and similar basic mass marketing solutions where strictly text content is enough... The page numbering feature is well past it's inclusion date (should have been in FM ages ago) and mixed content fields are really missing at this stage as well.. So yes i agree with you, to a large extent, but still think people deserve to know the option is available given that in some industries, text is still enough.

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.