We have a query which compares each field in two tables (let's say
Table1 and Table2) and identifies any records that have been modified.
For example, one of these columns looks like:
Field: Priority
Table: Table2
Sort:
Show:
Criteria: <>[Table1].[Priority]
However, if Priority in Table1 has a value, and Priority in Table2 is
null, the query doesn't identify this as a mismatch. Using NZ works,
but is this the proper way to compare fields?
Field: Expr1: nz([Table2].[Priority])
Table:
Sort:
Show:
Criteria: <>nz([Table1].[Priority])