CLEAR CLEAR SET DELETED ON CREATE CURSOR myCur (f1 c(2)) INDEX on f1 TAG tag1 INSERT INTO myCur VALUES ("A ") SELECT * FROM myCur WHERE f1 == "A " INTO ARRAY pippo IF _TALLY=0 ? RECCOUNT(),f1 ENDIF INSERT INTO myCur VALUES ("A ") SELECT * FROM myCur WHERE f1 == "A " INTO ARRAY pippo IF _TALLY=0 ? RECCOUNT(),f1 ENDIF * ... * while insert A you cannot find * now ... INSERT INTO myCur VALUES ("B ") SELECT * FROM myCur WHERE f1 == "A " INTO ARRAY pippo IF _TALLY=0 ? RECCOUNT(),f1 ENDIF INSERT INTO myCur VALUES ("B ") SELECT * FROM myCur WHERE f1 == "A " INTO ARRAY pippo IF _TALLY=0 ? RECCOUNT(),f1 ENDIF INSERT INTO myCur VALUES ("A ") SELECT * FROM myCur WHERE f1 == "A " INTO ARRAY pippo IF _TALLY=0 ? RECCOUNT(),f1 ENDIF * etcIt is correlate with the index history.