Brian Dunning's FileMaker Custom Functions

MaxLength ( field, foundCnt )

maximum trimmed character count for a field in current found set

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

Simon Brown   Simon Brown
Beezwax Datatools

Share on Facebook Share on Twitter

  Sample input:
MaxLength ( tableName::fieldName; Get (FoundCount) )

If the field for the records in found set contained {"Sam", "Larry", "Dave"}
  Sample output:

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

Simple example of a recursive function for determining the maximum trimmed character length of a field for all records in found set.

My main use for this was to determine how large a space I needed to allocate on a layout for various fields.



Log in to post comments.


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

Under construction. Email me your wish list for improvements.