Brian Dunning's FileMaker Custom Functions

ConcatValues ( ValuesOriginal ; ValuesToConcatenate ; ColumnSeparator ; RowSeparator )

Concatenate values which has multiple rows and columns to other values.

  Be the first to rate this function Log in to vote

Koji Takeuchi   Koji Takeuchi - Show more from this author
TonicNote, Inc.
https://tonicnote.com

Share on Facebook Share on Twitter

  Sample input:
ConcatValues ( "a¶b¶c" ; "1¶2¶3" ; "," ; ¶ )
  Sample output:
a,1¶b,2¶c,3

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

ConcatValues ( ValuesOriginal ; ValuesToConcatenate ; ColumnSeparator ; RowSeparator )
2018.03.18, Koji Takeuchi


description:
Concatenate values which has multiple rows and columns to other values.
ex.
$List1 = "George Harrison¶John Lennon¶Paul McCartney¶Ringo Starr"
$List2 = "Lead Guitar¶Rythm Guitar¶Base¶Drums"

ConcatValues ( $List1 ; $List2 ; "," ; ¶ )
= "George Harrison,Lead Guitar¶John Lennon,Rythm Guitar¶Paul McCartney,Base¶Ringo Starr,Drums"

// If you don't specify ColumnSeparator or RowSeparator, "," and "¶" are used by default.

 

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: