I'm begining to think we need a way to mark a thread as answered... It's not that I don't appreciate the help, because I do, I just hate wasting everyone's time when I'm already past the question I asked about.
But, you never know. I may need to do what I originally asked some day and will come back to these answers.
Thanks,
Michelle
>Try
LPARAMETERS tsubscript, tvalue, ta_array
>
>
>LOCAL lni, lnlast, lnvalue
>lnlast = ALEN(ta_array, 1)
>lnvalue = tvalue
>FOR lni = tsubscript TO lnlast
> ta_array[lni] = lnvalue
> lnvalue = lnvalue + 1
>NEXT
>IF tsubscript > 1
> FOR lni = 1 TO tsubscript - 1
> ta_array[lni] = lnvalue
> lnvalue = lnvalue + 1
> NEXT
>ENDIF