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

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

Recommended Posts

Posted

I am trying to create a calculation that gets all field values of a related record and combines them into a single field with a carriage return after each one.

I have tried to use the "GetNthRecord" function to achieve the desired result but I have to string a bunch of them together to get it to work.

GetNthRecord ( ASSIGNED_MENUS::MenuID ; 1 ) & "¶" &

GetNthRecord ( ASSIGNED_MENUS::MenuID ; 2 ) & "¶" &

GetNthRecord ( ASSIGNED_MENUS::MenuID ; 3 )

I am sure that this is not how I should be doing it. Is there a single function that can do this?

Posted

Hi, HALBURN!

Create condition value list by your relation, then use ValueListItems() function. I think must work.

Posted

I must be doing something wrong. I can not get the value list to show only the related values.

RelatedValueList.gif

Posted

Here is a test file that I have created to illustrate the trouble that I am having with trying to get a related value list to work properly.

Posted

Pulling related data into an unstored calculation field by using a custom function:

Custom Function: Concatenate

Parameters: field, start, number

Function Calc:

Case(start < number; getNthRecord(field; start)&" "&concatenate(field; start + 1; number);

start = number; getNthRecord(field; start)

)

All you would need to do is call the function in your unstored calculation field.

Posted

Thanks Brian, that worked great and I learned how to make a custom function.

I feel so Abby Normal :)

This topic is 6786 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.