>GOTO 5 >REPLACE stepno WITH stepno >GOTO 11 >REPLACE stepno WITH stepno >GOTO 15 >REPLACE stepno WITH stepno >GO TOP >? TABLEUPDATE(.T.,.T.,"myCursor") ---> .T. >BROWSE>RECNO() is now 16 and records 5,11, and 15 are marked as DELETED().
>SELECT myCursor >lnStep = stepno >REPLACE ALL stepno WITH IIF(stepno >= lnStep,stepno - 1,stepno) >? TABLEUPDATE(.T.,.T.,"myCursor") ---> .T. >>will result in all records where stepno is less than lnStep being deleted
>SELECT myCursor >lnStep = stepno >REPLACE ALL stepno WITH stepno - 1 FOR stepno >= lnStep>will result in all records where stepno is less than lnStep being deleted