Thanks JonhT - I used your example and I got rid of the formula in the Report header (got rid of the report header itself also) and used the following code in a fromula (CalcSeq) on the page header:
numberVar seqchk = 0;
Whileprintingrecords;
seqchk := seqchk + 1;
if seqchk > 8 then
seqchk := 1;
TOTEXT(Numbervar seqchk);
I use formula fields to set the OMR in accordance with the value of "seqchk" like this:
I have six of them in two bands in the left of the page header so that the machine can read the little stripes. I suppose it may not be the best and most effective way of doing it but for a monthly report, it can do the job just fine.I t works like a charm.
Thankyou for the help.
Regards