Brian Dunning's FileMaker Custom Functions

FieldRepeats ( repeatingField ; 1 )

Returns the true number of repetitions for a repeating field

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

Theo Ros   Theo Ros - Show more from this author

Share on Facebook Share on Twitter

  Sample input:
FieldRepeats ( repeatingField ; 1 )
  Sample output:

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

Returns the true number of repetitions for 'repeatingField' 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: FieldRepeats ( repeatingField ; 1 )

always use a value <= 1 as the starting number "n"

Return type: Number



Matt Wills   Matt Wills, Richford, VT
Jan 27, 2009
If you're using Clip Manager, you need to change the parameters spec to read "repeatingField ; n" and then follow the author's instructions. You can save this in CLip Manager, but trying to set it into FileMaker will not work because the parameter name cannot be a number.
Jim   Jim, NY
Mar 20, 2014
Repeating fields can not have a reference <1.
You mean >1.

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: