SELECT modacad.key3, modacad.key4, modacad.moc011, modacad.mochk009 ; FROM "U:\data\MODACAD.dbf" ; WHERE modacad.key4<>'TECHNICAL' ; ORDER BY key3 ; INTO CURSOR result READWRITE WITH This .AddObject('grid1','mygridclass') .grid1.visible=.t. .grid1.refresh endwithThis is not a good way but I have solved my problem by the same way. If you are going to regenerate/refresh cursor then you have to remove the grid object before creating cursor and add the grid object again soon after your cusor is ready.