MSAccess_newbie
Registered User.
- Local time
- Today, 19:57
- Joined
- Aug 19, 2008
- Messages
- 12
Hi All,
Im trying to run an access query from excel which takes parameter inputs.
I'm using the code from this link modified for my DB
http://www.ozgrid.com/forum/showthread.php?t=76848
My problem is the query pulls data from an SQL server connection which prompts for User ID and password the first time its run. When I run the code as is, it gives an error 'ODBC Connection to RegionalDB failed'
I'm suspecting its not getting passed the login prompt.
How do I send the UserID and password automatically?
Im trying to run an access query from excel which takes parameter inputs.
I'm using the code from this link modified for my DB
http://www.ozgrid.com/forum/showthread.php?t=76848
My problem is the query pulls data from an SQL server connection which prompts for User ID and password the first time its run. When I run the code as is, it gives an error 'ODBC Connection to RegionalDB failed'
I'm suspecting its not getting passed the login prompt.
How do I send the UserID and password automatically?