This is assuming that you are connecting through ODBC
You would use this with an ADODB Connection object - set the connection string to the above connection strings - then run the connection.open
Main Topics
Browse All TopicsHi,
This should be easy, but I can't figure it our for the life of me. I have to edit some of the tables in our database as soon as possible, but the person who set it up has left, so we've just been doing updates through ASP Scripts.
How do I connect to a data source in Access? Here's the connection string we use in ASP:
Provider=SQLOLEDB.1;Integr
The key information there is "Data Source=SRV\SQL2000;" how do I connect to that through Access? Again, when it's running on the web server, i have no problems, but I dont want to be having to write a bazillion SQL strings just to create and update some tables.
But I've tried to connect to it in Access I can't figure out how. I know its been done before. I'm using a machine that is on the same network, and I should have complete permissions.
Thanks so much in advance!!!
Let me know if you have any suggestions or need anymore information. Thanks!
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
What have you tried? and what error(s) have you received?
Does your domain account have access to the database? (Your connection string above references integrated security, so the call would fail if it does not, and you will need to specify database credentials.)
Can you resolve the server name, SRV, from your workstation?
You can use the connection strings provided above for a "connection-less" connection to the database or, you can create an ODBC connection to the database on your workstation and connect using ODBC (either with ADO or by adding a link to the SQL Server). The latter option is simpler, easier to maintain, and gives you the additional benefit of being able to test the connection while it is being created.
Business Accounts
Answer for Membership
by: Raynard7Posted on 2006-09-02 at 17:38:24ID: 17443941
If you want to connect through access you need
ase=pubs;U id=sa;Pwd= asdasd;"
ase=pubs;T rusted_Con nection=ye s;"
= adPromptAlways ase=pubs;"
ngs.com)
* Standard Security:
"Driver={SQL Server};Server=Aron1;Datab
* Trusted connection:
"Driver={SQL Server};Server=Aron1;Datab
* Prompt for username and password:
oConn.Properties("Prompt")
oConn.Open "Driver={SQL Server};Server=Aron1;DataB
(http://www.connectionstri