Brian Dunning's FileMaker Custom Functions

MinValue ( theList ; treatAsNumeric )

obtain the min value of a list WITHOUT RECURSION (thanks to Agnes Barouh and her "CustomList")

  Average rating: 4.4 (32 votes) Log in to vote

Benoit Jolly   Benoit Jolly
Active Développement

Share on Facebook Share on Twitter

  Sample input:
MinValue("65¶123¶21" ; 1 )

MinValue("65¶123¶21" ; 0 )

MinValue("zzz65¶aaa123¶ccc21" ; 1 )
  Sample output:



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

// obtain the min value of a list WITHOUT RECURSION (thanks to Agnes Barouh and her "CustomList")
// theList : a list of values separated with ¶
// treatAsNumeric : request to handle each value as the "GetAsNumber()" of the value to be computed
// examples :
// MinValue("65¶123¶21" ; 1 ) => 21
// MinValue("65¶123¶21" ; 0 ) => 123 (because the text value of 123 is inferior to the text value of 21 in the alphabetical order)
// MinValue("zzz65¶aaa123¶ccc21" ; 1 ) => ccc21 (it does not take the letters into account for the comparison)



Palash   Palash, SUL
Nov 5, 2019
When this function put in filemaker get an error like below.
"CustomList" function is found. Please advice how it use.

Log in to post comments.


Note: these functions are not guaranteed or supported by 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 16 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: