Microsoft Access Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsDatabasesMicrosoft Access Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
  #1  
Old March 8th, 2005, 06:04 PM
asylum asylum is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Mar 2005
Posts: 3 asylum User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 11 m 38 sec
Reputation Power: 0
Unhappy Help needed

Ok it has been a while since I have done any database work and I am a little rusty. My problem is I have a table in access with some text fields and 20 fields with yes/no check boxes. What I want is a query that will return all rows but only display the fields who’s check boxes have a "yes" value. Any help appreciated.

Thanks

Asylum

Reply With Quote
  #2  
Old March 8th, 2005, 07:35 PM
Utarian Utarian is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Feb 2005
Posts: 11 Utarian User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 5 h 6 m 55 sec
Reputation Power: 0
try tis ..
open the table in the query,
1st column put the text field , the 2nd column give a name on it and type "checked" in the criteria , uncheck the checkbox in "show"

Reply With Quote
  #3  
Old March 9th, 2005, 04:59 AM
asylum asylum is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Mar 2005
Posts: 3 asylum User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 11 m 38 sec
Reputation Power: 0
Unhappy

Quote:
Originally Posted by Utarian
try tis ..
open the table in the query,
1st column put the text field , the 2nd column give a name on it and type "checked" in the criteria , uncheck the checkbox in "show"


Unfortunately that does not work. Thanks for the help though. Got any other ideas.

Asylum

Reply With Quote
  #4  
Old March 16th, 2005, 12:31 PM
JamesMBC JamesMBC is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Mar 2005
Posts: 6 JamesMBC User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 56 m 59 sec
Reputation Power: 0
OK. I had this problem a bit ago. As i see it you have two situations. Do you want to pull out every text field that has even one box ticked or do you only want the ones that have all ticked. The difference is quite small. Simply open the table in query, add your text field and all the check boxes. In the first case then type yes in the criteria box for the check boxes downwards and horizontally right. If you remember your SQL from rustiness you want to set up a load of OR commands. For the second just type yes in the first criteria row for all the check boxes. Hoe you understand what I mean.

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsDatabasesMicrosoft Access Development > Help needed


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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 On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway
Stay green...Green IT