I have a little app written in Access.
In function Main which is called by the autoexec macro I do some initialization before loading the main form.
Based on some conditions, a restart is sometimes required.
I call the CloseCurrentDatabase method to close the current database (I can't call quit becuase it doesn't save the changes to any options) and get an Action failed error.
this is a problem because the database window is showing after they close the error window.

Anyone knows why I'm getting this. I have another app and it's working perfectly.
Thanks,