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. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
How to Return all Records with Blank Cells?
Might be an easy question, but how do I return all records which have
empty cells for the specified FIELD Example: Name School Home Child 1. xxxx xxxx xxxx 2. xxxx xxxx xxxx 3. xxxx xxxx xxxx xxxx 4. xxxx xxxx xxxx 5. xxxx I want to return all records except #3. Because it has all of the values. I only want to see records missing a value. I tried to use. IS NULL in each Field in Design View (under OR not CRITERIA), but it keeps returning everything. Thanks in advance |
#2
|
|||
|
|||
How to Return all Records with Blank Cells?
At the bootom of the qery designer, you see where it says OR? You have
several rows there. So you would add is null, skip down a row, is null, etc. -- Milton Purdy ACCESS State of Arkansas "Chris" wrote: Might be an easy question, but how do I return all records which have empty cells for the specified FIELD Example: Name School Home Child 1. xxxx xxxx xxxx 2. xxxx xxxx xxxx 3. xxxx xxxx xxxx xxxx 4. xxxx xxxx xxxx 5. xxxx I want to return all records except #3. Because it has all of the values. I only want to see records missing a value. I tried to use. IS NULL in each Field in Design View (under OR not CRITERIA), but it keeps returning everything. Thanks in advance . |
#3
|
|||
|
|||
How to Return all Records with Blank Cells?
Be aware that what looks like a "blank" to humans may not look the same to
Access. A "blank" in a field (by the way, Excel has cells, Access does not) could be a zero-length string (""), a Null, or even any number of spaces. Unless you know for sure, test for all! Good luck Regards Jeff Boyce Microsoft Access MVP -- Disclaimer: This author may have received products and services mentioned in this post. Mention and/or description of a product or service herein does not constitute endorsement thereof. Any code or pseudocode included in this post is offered "as is", with no guarantee as to suitability. You can thank the FTC of the USA for making this disclaimer possible/necessary. "Chris" wrote in message ... Might be an easy question, but how do I return all records which have empty cells for the specified FIELD Example: Name School Home Child 1. xxxx xxxx xxxx 2. xxxx xxxx xxxx 3. xxxx xxxx xxxx xxxx 4. xxxx xxxx xxxx 5. xxxx I want to return all records except #3. Because it has all of the values. I only want to see records missing a value. I tried to use. IS NULL in each Field in Design View (under OR not CRITERIA), but it keeps returning everything. Thanks in advance |
Thread Tools | |
Display Modes | |
|
|