Solved

How can I By-pass or auto login to an ODBC database

Posted on 2008-06-20
8
1,155 Views
Last Modified: 2012-08-14
How  can I By-pass the user id and password prompts or auto login to an ODBC database?
0
Comment
Question by:mbrennan_pacbell_net
8 Comments
 
LVL 5

Accepted Solution

by:
Steve Dubyo earned 168 total points
ID: 21834481
Those details can be embedded.  Is this a linked table we are talking about ?
0
 

Author Comment

by:mbrennan_pacbell_net
ID: 21834608
Yes,  It is a linked table (Specicially linked into an Access database).

Thanks,

Mike
0
 
LVL 2

Expert Comment

by:jgoeders
ID: 21835193
Workspaces(0).OpenConnection("MyNewConnection", , , "ODBC;DSN=...;UID=MYLOGON;PWD=MYPASSWORD")
0
Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

 
LVL 2

Assisted Solution

by:jgoeders
jgoeders earned 166 total points
ID: 21835195
connect to an odbc database through this code:

Workspaces(0).OpenConnection("MyNewConnection", , , "ODBC;DSN=...;UID=MYLOGON;PWD=MYPASSWORD")

insert the DSN of the database and you logon and password.  then just run this code when the database opens.
0
 
LVL 7

Expert Comment

by:Dauhee
ID: 21837321
optionally remove the password from the access database :)
0
 
LVL 30

Assisted Solution

by:hnasr
hnasr earned 166 total points
ID: 21838710
0

Featured Post

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Create tables in access db (2016)  using vba 13 40
Top 1 of each supplier 55 55
Create a MySQL table as easily as possible 6 34
is Microsoft Access going to Die? 9 42
This article describes some very basic things about SQL Server filegroups.
Entering a date in Microsoft Access can be tricky. A typo can cause month and day to be shuffled, entering the day only causes an error, as does entering, say, day 31 in June. This article shows how an inputmask supported by code can help the user a…
In Microsoft Access, learn how to “cascade” or have the displayed data of one combo control depend upon what’s entered in another. Base the dependent combo on a query for its row source: Add a reference to the first combo on the form as criteria i…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

813 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now