Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×
The Claris Museum: The Vault of FileMaker Antiquities at Claris Engage 2025! ×

Determining Portal Row without drawing a portal


This topic is 5783 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

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.

Posted

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/

This topic is 5783 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.