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.

Determining Portal Row without drawing a portal

Featured Replies

Is there a way to determine the rank position of related records with a calculation field?

In other words, I have a parent table and some child records. In the child records, I want to be able to have a field that stores the position of the record as it would appear in a given portal, defined by a specific relationship - which may or may not have a sort order defined.

This is so that I can use this data within results returned by the List function, which concatenates records from the child table. And so that I can report the rank of the child records in league tables.

Many thanks in advance,

W.

It's possible, but it would require another calculation field in the parent table = List ( Child::ChildID ), which would be used in the child table to lookup each child's position in the list.

Alternatively, you could use a custom function such as http://www.briandunning.com/cf/941 to number the list.

Or you could simply produce the report from the child table.

Note that none of these methods produce the correct result in case of a tie - see:

http://fmforums.com/forum/showtopic.php?tid/201199/

http://fmforums.com/forum/showpost.php?post/241386/

  • Author

Perfect answer. Thanks v much.

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.