Hi-
I have a macro launched at night which deletes/appends lots of different tables and then the database is compacted. After the database is compacted, the switchboard is displayed (per the Startup options).
I need to quit Access as the last step in the process but if I add this command to the macro, it Quits before performing the compact. Without the Quit command, it works beautifully.
Any idea how I can accomplish this?
(I'm not sure if this will make a difference but as a crude security measure I have it set up so that if you load the database without depressing the shift key, all that you can access is the switchboard. This is how the database is opened "post" compact.)
Thanks for any help you can give.
I have a macro launched at night which deletes/appends lots of different tables and then the database is compacted. After the database is compacted, the switchboard is displayed (per the Startup options).
I need to quit Access as the last step in the process but if I add this command to the macro, it Quits before performing the compact. Without the Quit command, it works beautifully.
Any idea how I can accomplish this?
(I'm not sure if this will make a difference but as a crude security measure I have it set up so that if you load the database without depressing the shift key, all that you can access is the switchboard. This is how the database is opened "post" compact.)
Thanks for any help you can give.