I have a table that I am trying to filter by a date field. I want to find all entries will null or blank values in the DateOut field. The table has a number of entries, about half have dates in the DateOut field, and half do not. I have tried:
None of them work. With the empty quotes, I get a data mismatch error. But with the others I just get an empty datasheet. If I check for not null values, it returns all of the entries that have dates in the field.
So these work:
but I actually am looking for the opposite.
Code:
WHERE DateOut Is Null;
WHERE IsNull(DateOut);
WHERE IsEmpty(DateOut);
WHERE DateOut = "";
None of them work. With the empty quotes, I get a data mismatch error. But with the others I just get an empty datasheet. If I check for not null values, it returns all of the entries that have dates in the field.
So these work:
Code:
WHERE DateOut Is Not Null;
WHERE Not IsNull(DateOut);
WHERE Not IsEmpty(DateOut);
but I actually am looking for the opposite.