Hi all!
I am trying to use an option box to fill some boxes below. My problem is that whenever I click on any of the radio buttons, I get the following error:
Run-time error '2115':
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.
The code that is complaining is the following:
combo_host1name.SetFocus
combo_host1name.Text = h1name <-- ERROR HERE
If I use a button to run the function that sets this stuff, it is fine. If I even call the "afterupdate" function for the option controls, it is fine. I've tried all kinds of things, and the only time I have a problem is when I actually CLICK the radio buttons.
If someone can help me, I would appreciate it! Although I can use buttons instead, the radio buttons just look a little nicer! Thanks!
Miriam
I am trying to use an option box to fill some boxes below. My problem is that whenever I click on any of the radio buttons, I get the following error:
Run-time error '2115':
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.
The code that is complaining is the following:
combo_host1name.SetFocus
combo_host1name.Text = h1name <-- ERROR HERE
If I use a button to run the function that sets this stuff, it is fine. If I even call the "afterupdate" function for the option controls, it is fine. I've tried all kinds of things, and the only time I have a problem is when I actually CLICK the radio buttons.
If someone can help me, I would appreciate it! Although I can use buttons instead, the radio buttons just look a little nicer! Thanks!
Miriam