I think i forgot to mention that i intended to use this in order to create a sequenced set of tickets
example
NY 3000 number padded pieces in one file "0001", "0002", etc.
I am only getting one record or padded record per file
i was using this to number the pieces
return FormatNumber("0000", 1 + FusionPro.Composition.repeatRecordNumber - 1);