Brian Dunning's FileMaker Custom Functions

SumText ( Field ; TotalLines ; StartLine ; Text ; Delimiter )

Adds together all the data in a Field

  Average rating: 3.9 (36 votes) Log in to vote

Simon Ward   Simon Ward - Show more from this author
Linear Blue
http://www.linearblue.com

Share on Facebook Share on Twitter

  Sample input:
SumText ( Field ; count(Field) ; 1 ; "" ; "," )
  Sample output:
text1, text2, text3

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

Add together all the text in a field either in a found set or from a portal. You can specify the delimiter so you could have a comma separated list or return separated list to use with the value function. This function does not put the delimiter after the last value.

 

Comments

Nick Lightbody   Nick Lightbody, Deskspace Systems Limited
Mar 12, 2009
This is an elegant and efficient function - with the addition of a limiter it works very well in producing a multi-key for large datasets
 

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: