Click to See Complete Forum and Search --> : SQL Server connect string


Valer BOCAN
April 13th, 1999, 02:06 PM
When Class Wizard created a CRecordset derived class based on a table from SQL Server, it put the default connect string "ODBC;DSN=MQIS". Although this works, it is anoying to log in to SQL Server every time a table is open. How can I open a recordset specifying some default authentication for the SQL Server?

Bjarke Viksøe
April 14th, 1999, 03:02 AM
UID=username;PWD=password