adrian.stock22
Registered User.
- Local time
- Today, 16:56
- Joined
- Mar 21, 2004
- Messages
- 57
--Is Not Null-- vs -- <>"" --
A Query based on ValidMainTable shows 418 records when I set Fax to <>"", as in the SQL condition below
WHERE (((ValidMainTable.Fax)<>"") AND ((ValidMainTable.URL)="") AND ((ValidMainTable.FaxSuppression)="N") AND ((ValidMainTable.LuigiBatchDate) Is Not Null));
but when I set fax to
Is Not Null
1071 records will show
Fax is a text field which is used for storing fax numbers, but is not made a number field because I occasionally may want to write a note into it.
What accounts for the difference in the number of records shown? Or rather, how do the records differ which are being shown?
What is the difference between
<>"" and Is Not Null
Thanks.
Adrian
A Query based on ValidMainTable shows 418 records when I set Fax to <>"", as in the SQL condition below
WHERE (((ValidMainTable.Fax)<>"") AND ((ValidMainTable.URL)="") AND ((ValidMainTable.FaxSuppression)="N") AND ((ValidMainTable.LuigiBatchDate) Is Not Null));
but when I set fax to
Is Not Null
1071 records will show
Fax is a text field which is used for storing fax numbers, but is not made a number field because I occasionally may want to write a note into it.
What accounts for the difference in the number of records shown? Or rather, how do the records differ which are being shown?
What is the difference between
<>"" and Is Not Null
Thanks.
Adrian