Brian Dunning's FileMaker Custom Functions

FieldRepeatsByName ( "fieldName" )

Returns the true number of repetitions for a repeating field

  Average rating: 4.0 (30 votes) Log in to vote

Theo Ros   Theo Ros - Show more from this author

Share on Facebook Share on Twitter

  Sample input:
FieldRepeatsByName ( "fieldName" )
  Sample output:
6

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

Returns the true number of repetitions for 'fieldName' as opposed to the
Get(ActiveRepetitionNumber) and FieldRepetitions() functions that will
only give you the number of repeats as shown on a certain layout.

Syntax: FieldRepeatsByName ( "fieldName" )
where "fieldName" is the quoted name of the repeating field.

Return type: Number

 

Comments

Matt Wills   Matt Wills, Richford, VT
Jan 27, 2009
This one just does not work. Should be deleted. Try same author's "FieldRepeats" instead.
 

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: