M
martin
I have the following code set to the on Click event of a
checkbox;
Private Sub ATTENDING_Click()
SITEREQUEST.SetFocus
If (Me.ATTENDING = True) Then Me.SITEREQUEST.Text
= "WILSON"
End Sub
It's supposed to change my SITEREQUEST textbox text to
WILSON and it does, but I keep getting the following error;
RunTime error 2115
The macro of function set to the BeforeUpdate or
Validation Rule property for this field is preventing the
Database from saving the data in the field. Not sure
what's causing this. I made sure I had no Validation Rule
for the SITEREQUEST textbox and I don't have anything
under the BeforeUpdate event. Puzzled??
checkbox;
Private Sub ATTENDING_Click()
SITEREQUEST.SetFocus
If (Me.ATTENDING = True) Then Me.SITEREQUEST.Text
= "WILSON"
End Sub
It's supposed to change my SITEREQUEST textbox text to
WILSON and it does, but I keep getting the following error;
RunTime error 2115
The macro of function set to the BeforeUpdate or
Validation Rule property for this field is preventing the
Database from saving the data in the field. Not sure
what's causing this. I made sure I had no Validation Rule
for the SITEREQUEST textbox and I don't have anything
under the BeforeUpdate event. Puzzled??