Table 4.1. Access Operators and Their Meanings
|
= | Equal to | ="Sales" | Finds only those records with "Sales" as the field value. |
< | Less than | <100 | Finds all records with values less than 100 in that field. |
<= | Less than or equal to | <=100 | Finds all records with values less than or equal to 100 in that field. |
> | Greater than | >100 | Finds all records with values greater than 100 in that field. |
>= | Greater than or equal to | >=100 | Finds all records with values greater than or equal to 100 in that field. |
<> | Not equal to | <>"Sales" | Finds all records with values other than Sales in the field. |
And | Both conditions must be true | Created by adding criteria on the same line of the query design grid to more than one field | Finds all records where the conditions in both fields are true. |
Or | Either condition can be true | "CA" or "NY" or "UT" | Finds all records with the value of "CA", "NY", or "UT" in the field. |
Like | Compares a string expression to a pattern | Like "Sales*" | Finds all records with the value of "Sales" at the beginning of the field. |
Between | Finds a range of values | Between 5 and 10 | Finds all records with the values of 510 (inclusive) in the field. |
In | Same as Or | In("CA", "NY","UT") | Finds all records with the value of "CA", "NY", or "UT" in the field. |
Not | Same as not equal to | Not "Sales" | Finds all records with values other than Sales in the field. |
Is Null | Finds Nulls | Is Null | Finds all records where no data has been entered in the field. |
Is Not Null | Finds all records not Null | Is Not Null | Finds all records where data has been entered the field. |