
Originally Posted by
pledbetter
The form "Login Screen" is not open. I am not running an autoexec macro. When you set the Display Form in Access Options, that's what comes up when you run the app. The login screen is closed shortly after the user login. Again, when the database is in Design Mode and you start with the "Login Screen" form, and after logging in and accessing the form where the Exit button is, when the Exit button is clicked, Access exits without incident. But if I run the database directly, it starts with the same "Login Screen" form, then when the Exit button is clicked, I get the message. The Exit button is on another form, unrelated to "Login Screen".
Again, I tried loading the "Login Screen" form just before the quit, just for the hell of it:
Private Sub Command3_Click()
DoCmd.OpenForm "Login Screen", acNormal, "", "", , acHidden
DoCmd.Quit acQuitSaveAll
End Sub
Same symptom.
But again opening the database in Design mode, it exits cleanly