Undo a checkBox in Option Group

C

Cristo

Hi,
I've got a form + a subform. In the subform, I've got some option groups. I was wondering how I could undo (uncheck) a value of an option group. Basically, once I have selected something (let's say by mistake), I cannot undo the checkbox.
Any idea?
Thanks a lot for your help.
 
F

fredg

Hi,
I've got a form + a subform. In the subform, I've got some option groups. I was wondering how I could undo (uncheck) a value of an option group. Basically, once I have selected something (let's say by mistake), I cannot undo the checkbox.
Any idea?
Thanks a lot for your help.

Add one more option button to the group.
Set it's label caption to "Clear".
Let's say it's value is 4.
Code the OptionGroup's AfterUpdate event:

If Me!OptionGroupName = 4 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