- Use Is Null, not "=Is Null", as criterium for the first field.
- Add a calculated field IsNumeric([YourMixedField]) having as criterium: True
Microsoft access: query with Null
Hi, I am creating a Microsoft access query. I wish to filter 2 columns.
1st column: I want it to return rows that are null. I have indicated “=is null” under the criteria section but my entire data sheet page returns empty even though there are rows that are null for 1st column.
2nd column: I want it to return rows that only consist of numbers as this field contains both numbers and alphabets.
What would be the criteria/formula I can input for both columns in my query design?
Thanks in advance!
Microsoft 365 and Office | Access | For business | Windows
Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.
6 answers
Sort by: Most helpful
-
Anonymous
2023-03-06T10:36:35+00:00 -
Anonymous
2023-03-06T15:54:22+00:00 And what are those values not supposed to be numeric?
It can read value like "2E10" as numeric ...
-
Anonymous
2023-03-06T22:12:12+00:00 as this field contains both numbers and alphabets.?
not like *[a-zA-Z]*
-
Anonymous
2023-03-07T00:16:46+00:00 Hi Gustav,
You’re right. Yes some fields contain items like 2lash123. But I want fields that solely contain numbers.
Thank you.