X   Site Message
(Message will auto close in 2 seconds)

Welcome to UtterAccess! Please ( Login   or   Register )

Custom Search
   Reply to this topicStart new topic
> Uncheck CheckBox for Option group    
post Jan 22 2005, 11:36 AM

Posts: 46
Joined: 16-March 03

I have a check box option grouped the user is able to select one of the following
Yes = 1
No = 2
Both =3
and this is what i need since I only need to store one value to this field. But the data entry person wants to be able to unselect the item that was checked.

How would I set this option back to 0(zero)? Any ideas? Any VBA code?
Go to the top of the page
post Jan 22 2005, 11:45 AM

Posts: 1,208
Joined: 19-July 04
From: Cochrane, Ontario, Canada

I assume you mean you are using "radio buttons" and not "checkboxes", if you are allowing only one item in the option group to be selected. If so, check out this post from a few days ago.

If you actually are using checkboxes, then perhaps you could have a command button beside the group called "Uncheck All", with the following code behind the "On Click" event:

chkYes.Value = False
hkNo.Value = False
chkBoth.Value = False
chkUnknown.Value = False

Hope this helps...
Edited by: malcolmd83 on Sat Jan 22 11:54:35 EST 2005.
Go to the top of the page

Custom Search
RSSSearch   Top   Lo-Fi    21st January 2017 - 08:35 PM