![]() |
|
|
#1
|
|||
|
|||
|
I have a table where there is a checkbox for "Enrollment" and then a second field with a month. What should my query look like if I want to pull all records out where the checkbox is true but the month specified doesn't exist in the record.
Example Table (looking for the second field to be true but no July record): Account | True | June Account | True | July Account2 | True | July Account3 | False| null Account4 |True | null "Account" has a July record so this record should not pull "Account2" has a July record so this record should not pull "Account 3" is False so should not pull "Account 4" is true and has no July - so this record should pull Thanks in advance! |
|
#2
|
|||
|
|||
|
Dear hraup
You have to simply write down "Is Null" in month criteria and "true" in Account criteria. Thanks. Wasim |
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Telling Query to Pull All Records by Combo Box | tigers | Forms | 1 | 04-28-2008 12:47 PM |
| Pull Paremeter for query from current form value | dymondjack | Forms | 1 | 02-14-2007 04:27 PM |
| Pull Parameter Value from Form | dymondjack | Queries | 1 | 02-14-2007 04:15 PM |
| using a combo to pull up multiple values in the same field | ronandamanda114 | Forms | 0 | 12-19-2006 06:44 PM |
| Pull Data from another table | bbranco | Access | 0 | 07-27-2006 12:31 PM |