R
Ross
I am trying to establish and ADODB connection from Access 2003 to SQL Server
Express 2008.
This is the Syntax format that I found:
Provider=SQLOLEDB;Data Source=Your_Server_Name;Initial Catalog=
Your_Database_Name;UserId=Your_Username;Password=Your_Password;"
Here is my vba code:
cn.Open "Provider=SQLOLEDB;Data Source=OWNER-PC\SQLEXPRESS;Initial
Catalog=ReportingDB;UserId=Owner-PC\Owner;Password=pswd2;"
My error is: "Invalid connection string Attribute"
How can I find and fix the error?
Many Thanks
Ross
Express 2008.
This is the Syntax format that I found:
Provider=SQLOLEDB;Data Source=Your_Server_Name;Initial Catalog=
Your_Database_Name;UserId=Your_Username;Password=Your_Password;"
Here is my vba code:
cn.Open "Provider=SQLOLEDB;Data Source=OWNER-PC\SQLEXPRESS;Initial
Catalog=ReportingDB;UserId=Owner-PC\Owner;Password=pswd2;"
My error is: "Invalid connection string Attribute"
How can I find and fix the error?
Many Thanks
Ross