
Signature
Albert D. Kallal (Access MVP)
Edmonton, Alberta Canada
pleaseNOOSpamKallal@msn.com
Albert, Your VBscript idea works. I've been following David S' posts
because I've been having the same problem getting MS Access to run
import/exports when using the Task Scheduler. This has been bothering me for
weeks, but your solution worked for my application. Thanks!
The only issue left is that MSACCESS.EXE stays running as a process (and
there is a lock on the database) even though the VBscript has the Quit
command (accessApp.Quit). I've tried multiple solutions (running an Exit
Macro with the Quit command, using a DoCmd.Quit in the called module, etc).
Nothing works except killing the process.
Any suggestions?

Signature
Vicky
Raymond - 18 Oct 2007 20:55 GMT
Vicky, I had the same problem and I created a macro that would do what I
wanted and then I exported the macro as a shortcut to my desktop (or
whereever the task scheduler is pointing) and I would point the scheduler
directly to the macro and the macro would execute fine.
Raymond
> Albert, Your VBscript idea works. I've been following David S' posts
> because I've been having the same problem getting MS Access to run
[quoted text clipped - 7 lines]
> Nothing works except killing the process.
> Any suggestions?