Enable\Disable control on form

R

Rohit Thomas

I have an Option group on a form that has 4 option buttons
and a text box. There is a command button(Continue...)
that I would like to become enabled only if one of the 4
option buttons is selected and data is entered into the
text box, otherwise the command button would remain
disabled. I am not sure which event I should be using on
the textbox\option button. If anyone can point me in the
right direction or provide some sample code, I would
appreciate it.

Thanks,
Rohit Thomas
 
K

Ken Snell

Use the AfterUpdate event of the option group itself to check its value and
then disable/enable the command button.
 
R

Rohit Thomas

Thanks Ken for knocking out two of my problems. I really
appreciate the help!!
 
Top