NOT
logical NOT
What changes
- Input
- a boolean expression
- Output or change
- negated value (NOT UNKNOWN is UNKNOWN)
Syntax at a glance
[ NOT ] boolean_expression
Work example
A report needs NOT to define which rows satisfy a compound search condition.
Test a match, a nonmatch, and NULL. Write the expected TRUE, FALSE, or UNKNOWN result before running the filter.
Check your work NOT. The rows kept by NOT are exactly those whose complete condition evaluates to TRUE.
Open Microsoft Learn for full syntax, permissions, and details for your version.