Can VBA Plug in ODBC password?

B

Brad

I want to use Access to pull data nightly from a remote SQL-Server database.
I have the ODBC connection working, but it requires that a password is
entered for each nightly run. The password cannot be removed.

Is there a way in VBA to make the ODBC connection and plug in the password
automatically so that no manual intervention is needed each night when this
process takes place?

Thanks in advance for your help.
Brad
 
D

David H

I'd have your SQL Server Administrator take a good look at the UserId to
ensure that if it and the password are compromised that the risk is
mitigated.
 
B

Brad

David,

Thanks for your help.

Brad


David H said:
I'd have your SQL Server Administrator take a good look at the UserId to
ensure that if it and the password are compromised that the risk is
mitigated.
 
D

DaveT

Agreed, good idea. In most caes the SQL DBA has already considered this in
providing - for example - read only privileges, etc.
 

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

Top