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

hi there, i have a field called 'scores' with a numeric value. i'd like to create a calculation

field called 'ranking' which will assign a number next to a record based on results of a 'current find'

i.e., highest score='1', next highest score='2', 30th highest score='30'...

here's a link to give an idea of my dilemma...

http://tutsan.forest.net/ssv/FMPro?-db=ssvdb.fp5&-lay=master&-format=rankings.html&-Op=eq&Group=Adults&-Op=eq&Gender=M&-SortField=highscore&-SortOrder=descend&-Max=500&-Find

i'd appreciate any help, thanks!

Try [FMP-CurrentRecordNumber]

All the best.

Garry

There are a couple of ways of doing this, but I've never thought of using the Status(CurrentRecord) function before!

In the past I've done this by sorting, then replacing a field with a serial number (to generate the ranking 1, 2, etc). It works very well but the replace step could possibly fail in a multi-user environment due to record locking.

A process using the Status(CurrentRecord) won't have any problems at all with multi-user because it could do without the replace step. It will also work well over the web because all it needs is the sort -- it doesn't need a script at all.

The more I think about the Status(CurrentRecord) method the better I like it! Well done.

[FMP-CurrentRecordNumber] example:

<tr><td>Rank</td><td>Score</td><td>Name</td></tr>

[FMP-Record]

<tr><td>[FMP-CurrentRecordNumber]</td><td>[FMP-Field:score]</td><td>[FMP-Field:name]</td></tr>

[/FMP-Record]

I've never tried it, so it is only a guess!

Garry

  • Author

THANKS

thanks garrycl and vaughn, i'll try both your methods!

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.