nSQLHandle = SqlConnect (cSQLDataSource, cSQLUserId, cSQLPassword) cSQLcommand = "Select * From MyTable" SqlExec (nSQLHandle, cSQLcommand, "CurSelect") Select CurSelect BrowseThe SqlExec function above will execute until all records contained in MyTable are moved to CurSelect, and then control will be passed back to the program. When the amount of records to be selected is very large this statement sequence is not a good choice, because the SqlExec will delay a lot of time and will bring lots of, perhaps, not desired records.