Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

merging related records to text/letter


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

Recommended Posts

Posted

I have a portal which contains multiple related records that I want to merge to a letter.

Example: Record 1 has three associated portal reocrds. The fields are MealType, Date, and Cost Estimate (i.e., lunch, 2/21/05, $8.75). I want to insert/merge all three related records into part of a letter. I am able to merge the first related record into the letter but I'm unsure how to merge the rest.

Any advice?

Posted

Micshrp:

Welcome to the Forums.

When printing related records you are best off printing while in the related table. Optionally, you can script the collection of the data from the related fields into a single global field using a loop, and the global field can then be used in your letter.

-Stanley

Posted

To get the values from multiple related records in one field you can use the Design function,

ValueListItems (Get(FileName); "Value list name")

So you have to create a Value list, filtered by that relationship, targeting the field.

You can surround this with a Substitute, to change to comma-separated,

Substitute ( ValueListItems (Get(FileName); "Value list name");

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