clear CREATE CURSOR aa (f1 i null,f2 i DEFAULT -1) CURSORSETPROP("Buffering",5) SET NULL ON APPEND BLANK ? GETFLDSTATE(-1),f1 at 20,f2 INSERT INTO aa FROM memvar ? GETFLDSTATE(-1),f1 at 20,f2 SET NULL OFF INSERT INTO aa FROM memvar ? GETFLDSTATE(-1),f1 at 20,f2 USE CREATE CURSOR aa (f1 i null,f2 i DEFAULT -1) CURSORSETPROP("Buffering",5) INSERT INTO aa FROM memvar ? GETFLDSTATE(-1),f1 at 20,f2 #IF VERSION(2)>900 * I wish this on VFP10 SETFLDSTATE(-1,REPLICATE('3',FCOUNT())) #ELSE FOR f=1 TO FCOUNT() =SETFLDSTATE(m.f,3) NEXT #ENDIF ? GETFLDSTATE(-1),f1 at 20,f2 USE