Solved

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

Posted on 2008-06-20
8
1,172 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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
SharePoint Admin?

Enable Your Employees To Focus On The Core With Intuitive Onscreen Guidance That is With You At The Moment of Need.

 
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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Recently I was talking with Tim Sharp, one of my colleagues from our Technical Account Manager team about MongoDB’s scalability. While doing some quick training with some of the Percona team, Tim brought something to my attention...
Traditionally, the method to display pictures in Access forms and reports is to first download them from URLs to a folder, record the path in a table and then let the form or report pull the pictures from that folder. But why not let Windows retr…
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…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

718 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