Solved

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

Posted on 2008-06-20
8
1,149 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
Comment Utility
Those details can be embedded.  Is this a linked table we are talking about ?
0
 

Author Comment

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

Thanks,

Mike
0
 
LVL 2

Expert Comment

by:jgoeders
Comment Utility
Workspaces(0).OpenConnection("MyNewConnection", , , "ODBC;DSN=...;UID=MYLOGON;PWD=MYPASSWORD")
0
Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

 
LVL 2

Assisted Solution

by:jgoeders
jgoeders earned 166 total points
Comment Utility
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
Comment Utility
optionally remove the password from the access database :)
0
 
LVL 30

Assisted Solution

by:hnasr
hnasr earned 166 total points
Comment Utility
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
CCModeler offers a way to enter basic information like entities, attributes and relationships and export them as yEd or erviz diagram. It also can import existing Access or SQL Server tables with relationships.
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…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

744 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

19 Experts available now in Live!

Get 1:1 Help Now