Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Automatic ODBC Connection

Status
Not open for further replies.

ITSSM

IS-IT--Management
Feb 6, 2008
23
GB
Hi
Our main SQL server database doesnt fully support what we need to do so I've had to create an access front end utilising some tables in the access front end and some in the SQL server database.

Not all users have direct access to our SQL server so those users who need to use it require ODBC links setting up. However, the number of users requiring this is growing and at the moment I have to go to their pc and manually add the ODBC links for that user. If they move machines I then have to do the same for the new machine. this is becoming a really time consuming so this is my question.

Is there a way I can make this part of their logon so when they logon the ODBC link automatically kicks in whatever machine they are on? They would only need read only access.

Thanks in advance for any replies.
 
All our ODBC links from Access to SQL Server are set up with a file DSN, which persists from PC to PC as long as the new PC has the DSN set up on it, which is a one-time operation. We have dozens of different mdb's, shared by up to 6 users, and no problems.

"Don't be irreplaceable. If you can't be replaced, you can't be promoted."
 
You can put the file dsn on a network share and never have to touch the pcs again.

"I think we're all Bozos on this bus!" - Firesign Theatre [jester]
 
EX-cellent!

"Don't be irreplaceable. If you can't be replaced, you can't be promoted."
 
Thanks for your replies. Is this difficult to do
 
It's very easy. When you go to create the dsn, choose file dsn instead. Then save it on a network share and relink in access using it instead of the current dsn.

"I think we're all Bozos on this bus!" - Firesign Theatre [jester]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top