Returns the contents of the repeating field specified by a number.
GetRepetition ( repeatingField ; number )
repeatingField
- any repeating field, or an expression that returns a reference to a repeating field
number
- the field repetition number
text, number, date, time, timestamp, container
FileMaker Pro 6.0 or earlier
•You can also find the contents of a particular repetition in a repeating field using brackets [ ] as array operators. For example, ParcelBids[2]
returns 1200. See Getting the contents of a repetition in a repeating field.
ParcelBids is a field defined to repeat with ten values and contains the values 2500, 1200, and 1500.
GetRepetition ( ParcelBids ; 2 )
returns 1200.
GetRepetition ( If ( IsEmpty ( ParcelBids )
≠ True ; ParcelBids ; HouseBids ) ; 2 )
returns 1200.
GetRepetition ( ParcelBids ; 5 )
returns nothing.