>* cursor DTemporal is created with SELECT .... INTO CURSOR DTemporal READWRITE >INDEX ON xxx TAG xxx >... >DELETE ALL FOR <condition> IN DTemporal >* Several records are added. Current record is last one added. >* The index has no effect on the order, at least as shown by BROWSE > >... > >SELECT DTemporal >SET DELETED OFF && To see all records >* The intent is to examine all records >SCAN > IF DELETED() >... >ENDSCAN >>
CLEAR CREATE CURSOR crsTest (Name C(20)) FOR lnFor = 1 TO 40 INSERT INTO crsTest VALUES ('Name '+TRANSFORM(lnFor)) NEXT DELETE ALL FOR RECNO() < 10 SET DELETED OFF SCAN ? Name ENDSCANDo not forget that you have an active ORDER so maybe your current record is the first in the order?