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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top