I am trying to repair a large database for a friend and so far so good, except on a particular form the close form button will not operate, it gives the error message “Module Not Found” I have tried making a new button, however same problem.
To go to the different forms they are accessed through switchboard buttons. The code to close all forms is the same, find code below –
Private Sub Close_Form_Click()
On Error GoTo Err_Close_Form_Click
DoCmd.Close
Exit_Close_Form_Click:
Exit Sub
Err_Close_Form_Click:
MsgBox Err.Description
Resume Exit_Close_Form_Click
End Sub
I would appreciate any assistance.
kevsim
To go to the different forms they are accessed through switchboard buttons. The code to close all forms is the same, find code below –
Private Sub Close_Form_Click()
On Error GoTo Err_Close_Form_Click
DoCmd.Close
Exit_Close_Form_Click:
Exit Sub
Err_Close_Form_Click:
MsgBox Err.Description
Resume Exit_Close_Form_Click
End Sub
I would appreciate any assistance.
kevsim