What am I doing wrong in this query statement?
I am doing a test to confirm that the data is the same in three tables.
All three are linked by IDNo.
Field name: GradeGood:
if "Table Data Detail. Field Grade" equals
"Table for Search.field Grade" and also equals
"Table Data. Field Grade"
set field "Good" else "No
The statement "and = [Table_Data]![Grade]" keeps disappearing from the statement after running it.
The statement I am using is this:
GradeGood: IIf([Table_Data_Details]![Grade]=[Table_for search]![Grade] And = [Table_Data]![Grade] ,"Good","NO")