lnHandle=SQLStringConnect('DRIVER=SQL Server;SERVER=(local);DATABASE=pubs;'+; 'Trusted_Connection=Yes') lnResult=SQLExec(m.lnHandle, "select * from authors", 'crsAuthors') SQLDisconnect(m.lnHandle) select crsAuthors browseIs a simple one with no error checking (if lnResult is not > 0 check aerror()). On UT (and in help file) there are plenty of other samples connecting,querying,updating using RV,SPT,CA.