J
Jet
This happens on one of my forms (not the others)
After I use the wizard to add a "go to next record" button, when I click on
it I get this message:
"The expression On Click you entered as an event property setting produced
the following error: Object or Class does not support the set of events"
I can add such button on all other forms I have but I can on one form.
the code associated with this is:
Private Sub Command38_Click()
On Error GoTo Err_Command38_Click
DoCmd.Close
Exit_Command38_Click:
Exit Sub
Err_Command38_Click:
MsgBox Err.Description
Resume Exit_Command38_Click
End Sub
After I use the wizard to add a "go to next record" button, when I click on
it I get this message:
"The expression On Click you entered as an event property setting produced
the following error: Object or Class does not support the set of events"
I can add such button on all other forms I have but I can on one form.
the code associated with this is:
Private Sub Command38_Click()
On Error GoTo Err_Command38_Click
DoCmd.Close
Exit_Command38_Click:
Exit Sub
Err_Command38_Click:
MsgBox Err.Description
Resume Exit_Command38_Click
End Sub