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 Beezwax Datatools http://beezwax.net/ |
If the field for the records in found set contained {"Sam", "Larry", "Dave"}
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.
Comments
Note: these functions are not guaranteed or supported by BrianDunning.com. Please contact the individual developer with any questions or problems.