Access linked SQL tables. How can I auto-login with VBA? (1 Viewer)

hardrock

Registered User.
Local time
Today, 20:39
Joined
Apr 5, 2007
Messages
166
I have an Access mdb that contains 10 linked tables to my works SQL server. Each time I start my mdb is brings up the login to SQL dialog box, (user name/ password) so it can access the tables. Could someone kindly advise me if I can use some VBA code to perform an auto login when accessing the link tables, say when I first open the mdb. Please advise thanks
 

pbaldy

Wino Moderator
Staff member
Local time
Today, 12:39
Joined
Aug 30, 2003
Messages
36,125
The simplest solution would be to link the tables again, this time checking the box that says "Save password" or something to that effect.
 

Users who are viewing this thread

Top Bottom