Unusual database connection to SQL (Access 2002). Help!

D

Dennis

I have a database connection as follows. It uses a named server and NT
(Windows logon) Authentication. It connects to a SQL server:

With dbconn
.Provider = "Microsoft.Access.OLEDB.10.0"
.Properties("Data Provider").Value = "SQLOLEDB"
.Properties("Data Source").Value = "xxx100in3"
.Properties("Initial Catalog").Value = "RegistrationDev"
.Properties("Integrated Security").Value = "SSPI"
.Open
End With

Now, I need to know two things:

- How to code this (if possible) to replace the named server ("xxx100in3")
with an IP address only

- Use SQL Server authentication instead of NT (logon) authentication

Any thoughts of insights would be greatly appreciated.

thanks!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top