>=SqlExec(myHandle, "Select * from MyTable", "MyTable") >PlayWithMyTable() >ScanMyTable() > >Function PlayWithMyTable > *--- Do some stuff > Use In MyTable >Endfunc > >Function ScanMyTable >try > *-- In the program here i expect the cursor to be there > *-- but some other functions may have closed it > Scan &&&& Open dialog box > *--- Some code here > > EndScan >catch >... > >EndFunc >>