The connection string should look something like the following:
"Provider=SQLOLEDB;Initial Catalog=MyDatabase;Data
Source=MyServer\MySQLInstance;TRUSTED_CONNECTION=Y es;"
--
David Lloyd
MCSD .NET
http://LemingtonConsulting.com
This response is supplied "as is" without any representations or warranties.
"Beacher" <be*****@gmail.com> wrote in message
news:11**********************@g43g2000cwa.googlegr oups.com...
Can someone tell me the vba code for simply making a connection to SQL
SERVER 2000 using NT Authentication.. my datalink is giving me a weird
error, and the only work around i've read about is making the
connection in VBA