Greetings all, I apologize in advance if this has been asked and answered before but my searching has not been successful.
I am attempting to create a query in Access. I have two fields in a table. Both fields contain text. I am trying to write a query that returns all the records for Field1 where the value for Field1 is not found anywhere in Field2.
For example:
I would like the query to return the Field1 records:
and exclude Apples, Bananas, and Carrots are found in Field2.
I thought that I can add a criteria to Field1 that says something like: Not [Field2] but I can't get the right criteria expression. Can you please help with the proper expression?
I am attempting to create a query in Access. I have two fields in a table. Both fields contain text. I am trying to write a query that returns all the records for Field1 where the value for Field1 is not found anywhere in Field2.
For example:
Code:
Field1 Field2
Apples Red
Apples Green
Bananas Yellow
Carrots Orange
Fruit Apples
Fruit Bananas
Vegetable Carrots
I would like the query to return the Field1 records:
Code:
Fruit
Vegetable
I thought that I can add a criteria to Field1 that says something like: Not [Field2] but I can't get the right criteria expression. Can you please help with the proper expression?