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 / April 2008

Tip: Looking for answers? Try searching our database.

Greying Out Null Checkboxes

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
kdagostino - 04 Apr 2008 16:06 GMT
I have a search form where values entered become the criteria for a query.  I
have several checkboxes on the form.  The default value is Null, so that when
the user does not check/uncheck the box, the query searches for either value.

My problem is that the checkbox does not appear any different when it is
null or when a "No" value is selected.  Is there a way I can grey-out the
checkbox when it is Null?  

Also, I would consider changing the "Triple State" value to "Yes" so that
the user could cycle through "Yes" "No" and "Null" but I have the same
problem.  There is no way to tell whether the checkbox is "No" or "Null."
Allen Browne - 04 Apr 2008 16:24 GMT
Try turning off the 'Use Themed Controls' in Access.

In Access 2007, that's under Office Button | Current Database
In Access 2003, it's under Tools | Options.

The other alternative is to set your Windows Themes to "Classic."

Before Windows XP, the check boxes used to show the 3 states correctly.
These days, I suggest that a triple-state check box is not a useful
interface. Perhaps it might be better to use a combo where it's obvious is
the user has left it blank.

Signature

Allen Browne - Microsoft MVP.  Perth, Western Australia
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

>I have a search form where values entered become the criteria for a query.
>I
[quoted text clipped - 10 lines]
> the user could cycle through "Yes" "No" and "Null" but I have the same
> problem.  There is no way to tell whether the checkbox is "No" or "Null."
kdagostino - 07 Apr 2008 14:31 GMT
Thank you so much.  I turned off 'Use Themed Controls' and it works perfectly.

> Try turning off the 'Use Themed Controls' in Access.
>
[quoted text clipped - 22 lines]
> > the user could cycle through "Yes" "No" and "Null" but I have the same
> > problem.  There is no way to tell whether the checkbox is "No" or "Null."
 
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.