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 5340 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted (edited)

I have created a field that contains a list of foreign keys separated by returns. What I want to do is create a calculated field that takes a value from each of the related records and combines them into a specific format within a record. So, for the field that contains the foreign keys, I have:

115¶

258¶

458¶

The Full Name field of foreign key record contains:

"Ronald Reagan"

"Bill Clinton"

"George Bush"

So:

115¶ - "Ronald Reagan"

258¶ - "Bill Clinton"

458¶ - "George Bush"

I want the calculated field to take the full name values and then output them like this:

"Ronald Reagan, Bill Clinton, George Bush"

The problem I have is that this relationship can have as few as 0 related records and potentially as many as 100 related records. How would I format calculated field to take this into account and not add a comma after the last value?

Edited by Guest
Posted

Substitute( List( relation::namefield); "¶"; ", ")

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