CLEAR CLOSE DATABASES ALL CLOSE TABLES all ON ERROR ? MESSAGE() SET MULTILOCKS ON Create Cursor abcd (abc C(10)) insert into abcd values('xyz') insert into abcd values('xyz1') cursorsetprop("buffering",5) insert into abcd values('xyz2') insert into abcd values('xyz3') replace abc WITH 'xyz4' FOR abc='xyz1' Select 0 select * from abcd with (buffering = .t.) WHERE "2" $ GETFLDSTATE(-1) into cursor query USE Select 100 && not first empty WA fire the error ? SELECT(0),"is empty",ALIAS() select * from abcd with (buffering = .t.) WHERE "2" $ GETFLDSTATE(-1) into cursor query Select 2 && this not fire the error ? SELECT(0),"is empty",ALIAS() select * from abcd with (buffering = .t.) WHERE "2" $ GETFLDSTATE(-1) into cursor query ON ERROR