> gObjtSQLcommand = "Select * From " + IIf (Empty (cTable_Owner), "", cTable_Owner + ".") + cTable_Name > > CursorSetProp ("FetchAsNeeded",.T.,0) > CursorSetProp ("AllowSimultaneousFetch",.T.,0) > CursorSetProp ("FetchSize",300,0) > SQLSetProp (gSQLHandle,"Asynchronous",.T.) > > I = 0 > > SendMessage (Str(I)) > > Do While ! Used ("CurSQLbrowse") > I = I + 1 > SendMessage (Str(I)) > SQLExec (gSQLHandle, gObjtSQLcommand, "CurSQLbrowse") > EndDo > > CursorSetProp("FetchAsNeeded",.F.,0) >>and
> CursorSetProp ("FetchAsNeeded",.T.,0) > CursorSetProp ("AllowSimultaneousFetch",.T.,0) > CursorSetProp ("FetchSize",300,0) > SQLSetProp (gSQLHandle,"Asynchronous",.T.) > > SQLPrepare (nSQLHandle, gObjtSQLcommand, "CurSQLbrowse") > > I = 0 > > SendMessage (Str(I)) > > Do While SQLExec(gSQLHandle) = 0 > I = I + 1 > SendMessage (Str(I)) > EndDo > > CursorSetProp("FetchAsNeeded",.F.,0) >Do you have GO TOP/GO BOTTOM somewhere in the code?