Brian Dunning's FileMaker Custom Functions

MultiLineKey ( input ; size ; output )

Takes an 'input' string of text and converts it into multi-line key values

  Average rating: 4.6 (35 votes) Log in to vote

Peter Roots   Peter Roots

Share on Facebook Share on Twitter

  Sample input:
MultiLineKey ( "ABCDE" ; 3 ; "" )
  Sample output:

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

Takes an 'input' string of text and converts it into multi-line key values, suitable for matching to in a relationship.
The function will derive component strings up to the length specified by the 'size' parameter. If 'size' is zero, the result is "". If the whole string hasn't been processed when the 'size' (length) has been reached, the result will include the derived strings up to that length plus the original string value.

input = remaining text to be processed; initially the full string value
size = maximum number of characters from the initial string to be processed
output = text that has been processed; initially blank



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: