>
> lnRecno = GETNEXTMODIFIED(0)
> DO WHILE lnRecno # 0
> GOTO lnRecno
> *-- do your update
> lnRecno = GETNEXTMODIFIED(lnRecno)
> ENDDO
>
> >how to use getnextmodified to update balances in a monthly balance
> table, which stores account codes and year stamp
For the Record, GETNEXTMODIFIED() moves the record pointer, so there
is no need for the GOTO lnRecno in the loop.
Bill
Bill Morris