Femina,
Why not just check the second repetition of a required field?
If the data repeats multiple times, there has to be a second occurrence. That will save you an iteration just to find out if there are more than one repetitions.
Jim Kosloskey
email: jim.kosloskey@jim-kosloskey.com 30+ years Cloverleaf, 60 years IT – old fart.