Sorry about that. Something went in my mind that he is using Access. It think connectionstrings.com site doesn't open up for a long time. not sure if I am alone facing that problem or the site has been moved.
You can also try this.
Using OLEDB provider. For Standard Security
oConn.Open "Provider=sqloledb;" & _
"Data Source=myServerName;" & _
"Initial Catalog=myDatabaseName;" & _
"User Id=myUsername;" & _
"Password=myPassword"
Or check out this link. -
http://www.able-consulting.com/MDAC/...erForSQLServer
Using ODBC driver. For Standard Security
oConn.Open "Driver={SQL Server};" & _
"Server=MyServerName;" & _
"Database=myDatabaseName;" & _
"Uid=myUsername;" & _
"Pwd=myPassword"
http://www.able-consulting.com/MDAC/...erForSQLServer
Hope that helps.
Cheers!
_________________________
- Vijay G
Strive for Perfection