I have developed a module in MS access 97, which is called from a form.
Everything seems to work fine, but when I close the database, I am not able
to quit Access. Access is minimized, but the database is closed.
If I add a MsgBox instruction in the module, everything works ok. Without
the MSgBox instruction, I have the above described problem.
ps all recordsets are closed via the Close method
Brian - 30 Jun 2005 17:03 GMT
DoCmd.Close just closes the current form. DoCmd.Quit will close Access. You
could make a button on your form and make DoCmd.Quit the last line on its
Click event.
> I have developed a module in MS access 97, which is called from a form.
> Everything seems to work fine, but when I close the database, I am not able
[quoted text clipped - 4 lines]
>
> ps all recordsets are closed via the Close method