A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Running & Setting Up Queries
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Criteria based on Check Boxes



 
 
Thread Tools Display Modes
  #1  
Old December 1st, 2009, 06:27 PM posted to microsoft.public.access.queries
Joe
external usenet poster
 
Posts: 1,218
Default Criteria based on Check Boxes

Hello,

I'm not sure if this is possible but its best to ask. Is there a way to run
a query and the criteria be based on Check Boxes in a form?

I currently have a drop down menu but the users are requesting Check Boxes
to make their lives easier.

Thanks

Joe
  #2  
Old December 1st, 2009, 07:19 PM posted to microsoft.public.access.queries
Roger Carlson
external usenet poster
 
Posts: 824
Default Criteria based on Check Boxes

On my website (www.rogersaccesslibrary.com), is a small Access database
sample called "CreateQueries3.mdb" which illustrates one way to do this.
You can download it for free he
http://www.rogersaccesslibrary.com/f...ts.asp?TID=367.

However, there's one design consideration before you give in to your users.
What happens if you need to add a new value? With a combo box, you can just
add values to the Row Source (I usually have the row source of combos come
from small, reference tables small tables). Adding a new value with Check
Boxes (or Option Group) requires, you, the developer, to modify the form
design each and every time.

And don't say it will never change. It ALWAYS changes.

For an illustrated case-study (one that came from real life) see my sample:
ReallyBadDesignDecisions. You can download it he
http://www.rogersaccesslibrary.com/f...ts.asp?TID=291

--
--Roger Carlson
MS Access MVP
Access Database Samples: www.rogersaccesslibrary.com
Want answers to your Access questions in your Email?
Free subscription:
http://peach.ease.lsoft.com/scripts/...UBED1=ACCESS-L


"Joe" wrote in message
...
Hello,

I'm not sure if this is possible but its best to ask. Is there a way to
run
a query and the criteria be based on Check Boxes in a form?

I currently have a drop down menu but the users are requesting Check Boxes
to make their lives easier.

Thanks

Joe



  #3  
Old December 1st, 2009, 07:19 PM posted to microsoft.public.access.queries
Roger Carlson
external usenet poster
 
Posts: 824
Default Criteria based on Check Boxes

On my website (www.rogersaccesslibrary.com), is a small Access database
sample called "CreateQueries3.mdb" which illustrates one way to do this.
You can download it for free he
http://www.rogersaccesslibrary.com/f...ts.asp?TID=367.

However, there's one design consideration before you give in to your users.
What happens if you need to add a new value? With a combo box, you can just
add values to the Row Source (I usually have the row source of combos come
from small, reference tables small tables). Adding a new value with Check
Boxes (or Option Group) requires, you, the developer, to modify the form
design each and every time.

And don't say it will never change. It ALWAYS changes.

For an illustrated case-study (one that came from real life) see my sample:
ReallyBadDesignDecisions. You can download it he
http://www.rogersaccesslibrary.com/f...ts.asp?TID=291

--
--Roger Carlson
MS Access MVP
Access Database Samples: www.rogersaccesslibrary.com
Want answers to your Access questions in your Email?
Free subscription:
http://peach.ease.lsoft.com/scripts/...UBED1=ACCESS-L


"Joe" wrote in message
...
Hello,

I'm not sure if this is possible but its best to ask. Is there a way to
run
a query and the criteria be based on Check Boxes in a form?

I currently have a drop down menu but the users are requesting Check Boxes
to make their lives easier.

Thanks

Joe



  #4  
Old December 1st, 2009, 07:19 PM posted to microsoft.public.access.queries
Roger Carlson
external usenet poster
 
Posts: 824
Default Criteria based on Check Boxes

On my website (www.rogersaccesslibrary.com), is a small Access database
sample called "CreateQueries3.mdb" which illustrates one way to do this.
You can download it for free he
http://www.rogersaccesslibrary.com/f...ts.asp?TID=367.

However, there's one design consideration before you give in to your users.
What happens if you need to add a new value? With a combo box, you can just
add values to the Row Source (I usually have the row source of combos come
from small, reference tables small tables). Adding a new value with Check
Boxes (or Option Group) requires, you, the developer, to modify the form
design each and every time.

And don't say it will never change. It ALWAYS changes.

For an illustrated case-study (one that came from real life) see my sample:
ReallyBadDesignDecisions. You can download it he
http://www.rogersaccesslibrary.com/f...ts.asp?TID=291

--
--Roger Carlson
MS Access MVP
Access Database Samples: www.rogersaccesslibrary.com
Want answers to your Access questions in your Email?
Free subscription:
http://peach.ease.lsoft.com/scripts/...UBED1=ACCESS-L


"Joe" wrote in message
...
Hello,

I'm not sure if this is possible but its best to ask. Is there a way to
run
a query and the criteria be based on Check Boxes in a form?

I currently have a drop down menu but the users are requesting Check Boxes
to make their lives easier.

Thanks

Joe



 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 03:42 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.