I am working with a form that is going to have 2 radio buttons or 1 option group. All I want to do is have one of the fields automatically fill in with a numeric value if one radio button is clicked, or clear any value in that field if the other radio button is clicked. Unfortunately this task has become quite difficult to accomplish.
I assigned values to the option buttons first and then tried to use VB code to auto-fill a particular field with the correct numeric value based on the value of the radio button, but am not very good with VB and this did not work.
I also tried to assign the actual value of the radio button to be the value I want to show up in the field and bind the radio button to that field. This works quite well for the numeric value button, but it does not work for the button that should clear the value in the cell because it will not allow me to have a null value for a radio button value. Any ideas on how to accomplish this task? Thanks in advance!
I assigned values to the option buttons first and then tried to use VB code to auto-fill a particular field with the correct numeric value based on the value of the radio button, but am not very good with VB and this did not work.
I also tried to assign the actual value of the radio button to be the value I want to show up in the field and bind the radio button to that field. This works quite well for the numeric value button, but it does not work for the button that should clear the value in the cell because it will not allow me to have a null value for a radio button value. Any ideas on how to accomplish this task? Thanks in advance!