Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Forms / March 2007

Tip: Looking for answers? Try searching our database.

Clear option group

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Ivor Williams - 10 Mar 2007 17:37 GMT
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
Stefan Hoffmann - 10 Mar 2007 18:02 GMT
hi Ivor,

> 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 <--
fredg - 10 Mar 2007 19:57 GMT
> 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
   
Signature

Fred
Please respond only to this newsgroup.
I do not reply to personal e-mail

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.