I have four radio buttons that I have set an after update event. This after update looks at what value the set of radio buttons ends up with. I do an if state that states
if frameSelections = 1 then
txtbox.text = "sjfksjflksjdf"
else:
if frameSelections = 2 then
txtbox.text = "asjfsjlflksdjflksj"
else:
if frameSelections = 3 then
txtbox.text = "uworuwoeiruwoeur"
end if
end if
end if
Now what is happening is that the code is working and it is update the txtbox that I want it to but then I get this error:
The macro or function set to the beforeUpdate or ValidationRule property for this field is preventing Microsoft Access from saving the data in the field.
Now what I do not understand is that I do not have any beforeUpdate for ValidationRule for any field on my form.
Can some one please help me out with this error.
the error number is:
2115
Thank you in advance,
TPowers
P.S.
I am using MS Access 2002 (XP)
if frameSelections = 1 then
txtbox.text = "sjfksjflksjdf"
else:
if frameSelections = 2 then
txtbox.text = "asjfsjlflksdjflksj"
else:
if frameSelections = 3 then
txtbox.text = "uworuwoeiruwoeur"
end if
end if
end if
Now what is happening is that the code is working and it is update the txtbox that I want it to but then I get this error:
The macro or function set to the beforeUpdate or ValidationRule property for this field is preventing Microsoft Access from saving the data in the field.
Now what I do not understand is that I do not have any beforeUpdate for ValidationRule for any field on my form.
Can some one please help me out with this error.
the error number is:
2115
Thank you in advance,
TPowers
P.S.
I am using MS Access 2002 (XP)