Brian Dunning's FileMaker Custom Functions

mkListMerge ( mergeString )

Use a formatted string to output several fields from a list of records

  Average rating: 3.5 (2 votes) Log in to vote

Michael Kupietz   Michael Kupietz - Show more from this author
Michael Kupietz FileMaker Consulting
http://www.kupietz.com

Share on Facebook Share on Twitter

  Sample input:
mkListMerge("<> is from <>")

(For a table "Data" with fields Name, City:
Name, City:
Adam, Andover
Bert, Boston
Charles, Charleston)
  Sample output:
"Adam is from Andover¶
Bert is from Boston¶
Charles is from Charleston"

  Function definition: (Copy & paste into FileMaker's Edit Custom Function window)

This function is like List(), except instead of accepting a single field name, it accepts a string which can contain multiple field names delimited as <>.

If you do not include any valid merge fields, it only outputs the string once.

If you need to use << or >> in the string, escape them as \<\< or \>\>.

 

Comments

Log in to post comments.

 

Note: these functions are not guaranteed or supported by BrianDunning.com. Please contact the individual developer with any questions or problems.

Support this website.

This library has been a free commmunity resource for FileMaker users and developers for 20 years. It receives no funding and has no advertisements. If it has helped you out, I'd really appreciate it if you could contribute whatever you think it's worth: