ODBC auto connect

  • Thread starter Thread starter AA
  • Start date Start date
A

AA

Hi,

Currently, I linked part of the database to Oracle using
ODBC.

I want to automatically (ie avoid username and password
prompt)run query from access.

Anyone know of a way in VBA on how to do that?
Thanks
 
To automatically run a query (without entering the
username, password, and server) from linked Oracle tables
you will need to edit your OS registry with the Username,
Password and Server. It is the ODBC DSN configuration
which is prompting you for this information. To do so you
will need to select-Start-Run-Regedit to open the
registry. Search for the DSN that uses the Oracle tables,
then under PWD enter the password, Server enter the Server
name and UID enter the user ID.

HTH,

Tony
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top