>CREATE CURSOR testIndex (ff i DEFAULT 3 check ff>0) >APPEND BLANK >APPEND BLANK >* i'm sure that ff>0 and sure that a record exists >SET DELETED OFF >DIMENSION aHash[3] >? RECNO() >INDEX on aHash[ff] TAG ttf >? RECNO() && at end the record is the top, the not restriction exist for fix this issue >GO BOTTOM >SKIP >INDEX on aHash[ff] TAG ttf >>
>current VFP rule is: >- eval at current record >- ..... > >Correct VFP procedure: >- if (dbstatus & DB_EOF) > _DBRewind(-1); >- eval at current record >>Of course, if the Table is Empty, the evaluation is forced to EOF().