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.

Record X of Y Script?

Featured Replies

(Moderator: feel free to move this post to the Define Fields forum if you deem it more appropriate.)

Greetings, all, and happy new year.

Here's a puzzler: I read that it's good FM developer practice to not let users have access to the Status Area in run-time solutions...which makes sense. However, by making it inaccessible users can't glance at the record counter to see that they're at Record X of Y...though they can go to a specific record if they want to by visiting the Records menu.

So, that means writing a script? A calculation?

I'm sure this issue has been dealt with before by someone far more wiser than me, so your help would be much appreciated.

Thanks!

Rich

An unstored calculation (result type set to "text") with a formula along the lines of:

"Record " & Get(RecordNumber) & " of " & Get(FoundCount)

...will provide you with a field which you can place anywhere on the layout to serve in place of the record number in the Status Area. :D

  • Author

Thank you VERY much--I'll give it a try!

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.