G
Guest
I have a database that has a button to quit the database. I also have a
button on the menu bar specifically designed for this database which is to
quit the database. About half the time when I use either the button on my
main menu or the button on the menu bar, I'm getting a run time error '2001'.
Any suggestions?
Here's my code for the button.
Private Sub btnQuitDatabase_Click()
'Close File
DoCmd.Quit
End Sub
Thanks for any help you might be able to offer.
button on the menu bar specifically designed for this database which is to
quit the database. About half the time when I use either the button on my
main menu or the button on the menu bar, I'm getting a run time error '2001'.
Any suggestions?
Here's my code for the button.
Private Sub btnQuitDatabase_Click()
'Close File
DoCmd.Quit
End Sub
Thanks for any help you might be able to offer.