Hi All,
I'm running a scheduled task every 5 minutes. The task opens a macro which has the following commands:
SetWarnings - Off
OpenQuery - appendqry
SetWarnings - On
Quit - SaveAll
After the task executes MS Access stays open in the task manager. Have also tried creating a function which contains the following:
Application.CloseCurrentDatabase
Application.Quit
and calling this in the macro, but still Access will not close.
Any help would be greatly appreciated.
Thanks.
Access 2002
Server Win2003 SP1
I'm running a scheduled task every 5 minutes. The task opens a macro which has the following commands:
SetWarnings - Off
OpenQuery - appendqry
SetWarnings - On
Quit - SaveAll
After the task executes MS Access stays open in the task manager. Have also tried creating a function which contains the following:
Application.CloseCurrentDatabase
Application.Quit
and calling this in the macro, but still Access will not close.
Any help would be greatly appreciated.
Thanks.
Access 2002
Server Win2003 SP1