If there are nulls, what results do you want?
A = "jessica"
B is Null
C = "Jessica"
Is this a match or not a match? If the above case is not a match, then the
following should return what you want. It will also return true if all the
fields are null.
IIF (Nz(A,"")=Nz(B,"") AND Nz(B,"")=Nz(C,""),True,False)
If you want to ignore null values in the comparison, then things get more
complicated and I would handle the whole thing with a custom function and
pass in an array of values and do the comparison there. You need to state
your rules clearly.
-- All Nulls is a match (or not)
-- One or more nulls are ignored in the comparison
-- All non-null values must match (same as above)
> Does anyone have any ideas, if there are nulls?
>
[quoted text clipped - 23 lines]
>> > Thanks,
>> > Jessica