×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Automatic ODBC Connection

Automatic ODBC Connection

Automatic ODBC Connection

(OP)
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.

RE: Automatic ODBC Connection

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."
 

RE: Automatic ODBC Connection

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

RE: Automatic ODBC Connection

EX-cellent!

"Don't be irreplaceable. If you can't be replaced, you can't be promoted."
 

RE: Automatic ODBC Connection

(OP)
Thanks for your replies. Is this difficult to do

RE: Automatic ODBC Connection

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

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login


Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close