unable to quit microsoft access without MsgBox

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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
 
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.
 
Back
Top