Select Empty cells

Hugues

New member
Local time
Today, 23:31
Joined
Feb 8, 2010
Messages
4
Hey guys,

it may seems straightforward, but how can I select empty cells when I am running a query?

Thanks

Hugues
 
Thanks for the answer, but I realize now I haven't been specific enough. I run my query through a form where I can enter in text boxes the criteria I want to use for each category, I tried " " to select empty cells but it didn't work, any other idea?
 
If you are using text boxes as Criteria, then try the following in your Criteria;
Code:
IIF (IsNull(Froms!FRM_Name!TextName),Like "*", Froms!FRM_Name!TextName)

Just insert your Form Name for FRM_Name and your Text box name for TextName.

If your Text box holds a null value then the Like "*" criteria will select all data in that field.
 
Last edited:

Users who are viewing this thread

Back
Top Bottom