Brian Dunning's FileMaker Custom Functions

MergeValues ( listA ; listB )

merges 2 value lists

  Average rating: 4.5 (33 votes) Log in to vote

Peter Wagemans   Peter Wagemans - Show more from this author
Lesterius
https://www.lesterius.com

Share on Facebook Share on Twitter

  Sample input:
MergeValues ( "a¶b¶c¶d"; "c¶d¶e¶f" )
  Sample output:
"a¶b¶c¶d¶e¶f"

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

This function merges 2 value lists. The values that do not exist in listA are appended to it.

 

Comments

Tom McIntosh   Tom McIntosh, Maple Ridge
Dec 21, 2010
Appears to fail when merging some pairs of number strings

listA
22;27;113;114;119;122;123;124;125;126;127
listB
22;26;113;114;115;116;117;119
merge
22;27;113;114;115;116;117;119;122;123;124;125;126;127
No 26 in merged list
 
Peter Wagemans   Peter Wagemans, Lesterius
Dec 24, 2010
There is a fix made by Gilles Berkovitch, http://www.briandunning.com/cf/1077
 

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: