First, create a macro with the RunCode action to run the function you need.
Next, create a shortcut to the macro (right-click -> Create Shortcut) which
will create a .MAM file.
Finally, create an event in Windows Scheduled Tasks and point to the .MAM
file.
In addition, if you perform any actions that perform
updates that provoke prompts, such as a make-table query,
you can suppress them by using SetWarnings to off, then
RunCode, then SetWarnings to On.
Good Point! And I should also point out that in Access 2003, you will need
to turn off the new security features to allow macros to run without
prompting.
Good Point! And I should also point out that in Access 2003, you will
need to turn off the new security features to allow macros to run
without prompting.
Another alternative is not to use Access at all, but to put the updates
into a VBS script, and run that with the Task Scheduler..
Tim F
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.