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

Recommended Posts

Posted

Hello, I'd like to concatenate the contents of a field from all the records in a found set so I can use the concatenated data as the body content for an automated email.

I'm unsure of where to start for creating the calculation in the concatenated field. I can apply it to the email once I've got the calculation/script but need some direction on the creating the concatenation. Any ideas?

Thanks

Posted

One way is to loop through the found set and set a global field with the content.

Set field [gConcat; "" ]

Go to Record [First]

Loop

Set Field [gConcat; gConcat & yourField]

Go to Record [Next; Exit after last]

End Loop

Posted

Thanks. I've tried to begin with this but it is not accepting:

Set Field (GCI_Members::gConcat;"")

It is asking for an operator. What is the "" indicating? I set gConcat at a text with a calculated result field type with Global storage. Does it need to be a calculation field?

Posted

Set Field [ GCI_Members::gConcat; "" ]

"" indicates null. It is to clear out the field. So in the calculated result area, type "". Yes use global storage text field.

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