Option Group Deselect

G

Guest

I have a form with some option groups that have no default values and that
are not required.

For example, one group has 3 choices:
Single
Double
Triple

If I make a selection then it's recorded in the table. How can I deselect
from the form rather than going into the table?

Thanks!
 
A

Allen Browne

Add a command button beside the group that sets its value to Null.

Private Sub cmdResetOptGrp_Click()
Me.[MyOptionGroup] = Null
End Sub
 
G

Guest

Thanks, Allen!

Allen Browne said:
Add a command button beside the group that sets its value to Null.

Private Sub cmdResetOptGrp_Click()
Me.[MyOptionGroup] = Null
End Sub

--
Allen Browne - Microsoft MVP. Perth, Western Australia.

Reply to group, rather than allenbrowne at mvps dot org.

JohnLute said:
I have a form with some option groups that have no default values and that
are not required.

For example, one group has 3 choices:
Single
Double
Triple

If I make a selection then it's recorded in the table. How can I deselect
from the form rather than going into the table?

Thanks!
 

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

Similar Threads


Top