Hey folks I have a form 'modal' that loads when access is first opened and allows a user to login using a simple form. I want to be able to close the application if the user clicks on the x in the upper right corner of the form. I have already applied script to close application if the user presses the close/cancel button however is there a way to apply the same script to the native close x icon?
Private Sub Command0_Click()
DoCmd.Quit
End Sub