SQLSTRINGCONNECT([cConnectString])
in the help file.nConn = SQLStringConnect('DRIVER=sql server;SERVER=(local);UID=sa;PWD=;DATABASE=northwind') sqlexec(nConn, 'select * from customer', 'curCustomer')Also, it is a bad idea to have an sa account with no password (as in the example above). Huge security hole. Not to mention a big exploit by the bad guys if the SQL Server DB is connected to the Internet.