Hello. Access 2003.
How would you approach scheduling of tasks in Access?
I was considering using Windows Task Scheduler to open a database
that contains an AutoExec macro or an opening procedure on a StartUp form?
Although I think the question is more complicated as I believe the users want
to do something on the arrival of files from Lotus Notes - if you have any hints about
that?
Thanks, Andy,
Schedule Access tasks
-
- SilverLounger
- Posts: 2403
- Joined: 05 Feb 2010, 22:21
- Location: London ENGLAND
Schedule Access tasks
"I'm here to save your life. But if I'm going to do that, I'll need total uninanonynymity." Me Myself & Irene.
-
- Administrator
- Posts: 78548
- Joined: 16 Jan 2010, 00:14
- Status: Microsoft MVP
- Location: Wageningen, The Netherlands
Re: Schedule Access tasks
I can't help you with the Lotus Notes question - if you don't get an answer in this thread you might post a question about it in the Other E-mail Clients forum.
If you go for the Windows Task Scheduler option, you can also open a database and run a specific macro (instead of relying on an AutoExec macro which would run every time you opened the database). To do so, use a command line like this:
"C:\Program Files\Microsoft Office\Office11\MSAccess.exe" "\\server\share\folder\MyDatabase.mdb" /x MyMacro
Another option would be to keep the database open all the time, and to keep a form in the database open all the time, with an On Timer event that runs the code that you want.
If you go for the Windows Task Scheduler option, you can also open a database and run a specific macro (instead of relying on an AutoExec macro which would run every time you opened the database). To do so, use a command line like this:
"C:\Program Files\Microsoft Office\Office11\MSAccess.exe" "\\server\share\folder\MyDatabase.mdb" /x MyMacro
Another option would be to keep the database open all the time, and to keep a form in the database open all the time, with an On Timer event that runs the code that you want.
Best wishes,
Hans
Hans
-
- SilverLounger
- Posts: 2403
- Joined: 05 Feb 2010, 22:21
- Location: London ENGLAND
Re: Schedule Access tasks
Thanks very much. Andy.
"I'm here to save your life. But if I'm going to do that, I'll need total uninanonynymity." Me Myself & Irene.