kmacdonald
New member
- Local time
- Today, 03:15
- Joined
- Apr 6, 2004
- Messages
- 7
I have a series of Queries that I run each morning. I am trying to automate this process as much as possible...
I have set up some simple macro's in Access to run the queries I need and output them in Pivot table view.
I created a Macro that calls each of my macros, so that I could schedule this (as one step) through Windows Scheduled Tasks:
Run: "C:\Program Files\Microsoft Office\OFFICE11\MSACCESS.EXE" "C:\Metrics\VantiveMetrics.mdb"/xDaily Macro Series
Start in: "C:\Program Files\Microsoft Office\OFFICE11"
Ideally, this process needs to run early in the AM each day.
The problem I am having is that the scheduled task opens Access and this them prompts me for my login/password for the OBDC connection I have to the data. So... I come in in the morning and the login screen is waiting for me, rather than the output of my queries.
Is there a way to feed my login/password? Or some other way to approach this?
Thanks
Katie
I have set up some simple macro's in Access to run the queries I need and output them in Pivot table view.
I created a Macro that calls each of my macros, so that I could schedule this (as one step) through Windows Scheduled Tasks:
Run: "C:\Program Files\Microsoft Office\OFFICE11\MSACCESS.EXE" "C:\Metrics\VantiveMetrics.mdb"/xDaily Macro Series
Start in: "C:\Program Files\Microsoft Office\OFFICE11"
Ideally, this process needs to run early in the AM each day.
The problem I am having is that the scheduled task opens Access and this them prompts me for my login/password for the OBDC connection I have to the data. So... I come in in the morning and the login screen is waiting for me, rather than the output of my queries.
Is there a way to feed my login/password? Or some other way to approach this?
Thanks
Katie