How to close the database
I have an autoexec file performing the task of transfering some tables and modules, and on completing i have to quit the database. I end up my code with the following command:
Application.Quit acPrompt
However i receive the message that path cannot be found.I do not receive an error if i perform the code from an OnClick comand, but
when the code is withing the autoexec macro,and that is exactky what i want to do, then i receive this error.
How can i effectively close the database with another command, so that i do not receive errors?