Must NoRepeats field precede repeating fields?

Imported from previous forum

Hi All

My question concerns the order of fields in a Fix message.

I am unsure from the spec if the field that specifies the number of repeats is considered a part of "fields within repeating data groups".
If it is then the NoRepeats field should strictly
precede the group.

Any ideas?

[ original email was from John Goeller - john.goeller@ssmb.com ]
> Hi All
>
> My question concerns the order of fields in a Fix message.
>
> I am unsure from the spec if the field that specifies the number of repeats is considered a part of "fields within repeating data groups".
> If it is then the NoRepeats field should strictly
> precede the group.
>
> Any ideas?
>

This definitely could be stated more clearly.

The number NoRepeats field is not part of and should generally preceded the repeating group.

For example,
998=NoRepeats
999=RepeatingValue

It would look like:

998=2 999=RepeatingValue1 999=RepeatingValue2