run time error 2115

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??
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top