LevelThought
MIS
I have a multi-tabbed form and the last tab is for the end-user to logout of the database by clicking on the tab.
What modifications do I need to make so the following code will work?
Private Sub Page8_Click()
On Error GoTo Err_cmdExit_Click
DoCmd.Quit
Exit_Page8_Click:
Exit Sub
Err_Page8Exit_Click:
MsgBox Err.Description
Resume Exit_cmdExit_Click
End Sub
What modifications do I need to make so the following code will work?
Private Sub Page8_Click()
On Error GoTo Err_cmdExit_Click
DoCmd.Quit
Exit_Page8_Click:
Exit Sub
Err_Page8Exit_Click:
MsgBox Err.Description
Resume Exit_cmdExit_Click
End Sub