Wrox Home  
Search P2P Archive for: Go

  Return to Index  

access thread: Error 2115 -- please help me!


Message #1 by "Miriam Savage" <msavage@l...> on Wed, 20 Feb 2002 22:11:34
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


  Return to Index