Clear option group

I

Ivor Williams

I have on a form an option group with two check boxes. On occasion, I may
want to clear both check boxes. Is there a way to do this?

Ivor
 
S

Stefan Hoffmann

hi Ivor,

Ivor said:
I have on a form an option group with two check boxes. On occasion, I may
want to clear both check boxes. Is there a way to do this?
Use

OptionGroup.Value = Null


mfG
--> stefan <--
 
F

fredg

I have on a form an option group with two check boxes. On occasion, I may
want to clear both check boxes. Is there a way to do this?

Ivor

Add a 3rd button (I'll assume it's value is 3).
Code the OptionGroup AfterUpdate event:

If Me![OptionGroupName] = 3 Then
Me![OptionGroupName] = Null
End If
 
Top