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.

Featured Replies

I have a report with lots of subsummary's, and i need to be able to get a Page Count, is this possible?

I bring up the point about subsummary's because i cant just get a count of records to try and estimate the number of pages.

Cheers for any help or suggestions

~Genx

  • Author

Also, while we're on the topic of me asking random questions ;)..

I want to label each record within a subsummary with a number starting from 1. So the first record in the subsummary would be 1, the second would be 2. Then in the next set of records under the same subsummary part would start at 1 again.

Cheers,

~Genx

Old cheap trick. Create a global field, _gPageNum

Enter Preview Mode []

Go To Record/Request [Last]

Set Field [ _gPageNum, Get (PageNumber) ]

Go To Record/Request [First]

Check the global

Pause or not

Print

Notice that the Enter Preview Mode [] does not pause. Even if you don't set the last page number into global,* just going to the last page will allow FileMaker to compute what the last page is, and it will show up as the number of pages in the Status Area (instead of ?), if you pause to look at it.

* The _gPageNum global can also be used to print: page ## of <<_gPageNum>>, ie., page 1 of 10

While I'm answering random questions, or perhaps providing random answers ;)-), here is a file I made a long time ago, in 4 I believe, that has all kinds of loops. The one you'd want is much like the Outline Population script. Except you don't really need the "A, B, C, D" for the Subsummary part itself. So I duplicated and stripped it down, as Outline Population numbers only.

LoopLoop.zip

  • Author

Perfect, thanks for solving both my problems Fenton ;)

~Genx

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.