I have a query with 3 tables MDD, Contacts and SettoDisc. The first 2 table have all the info I want to pull from the query and the third table has a field in it called [MPN] which matches the field [extref] in MDD.
I want to exclude any records from the query where [ExtRef] matches [MPN] and I'm struggling to do this, I thought it would work out be quite simple but that hasn't been the case for me.
I can pull records out where both field match but thats the opposite of what I want.
The code I'm using to try and exclude records where the fields match is:
That is in the [ExtRef] criteria.
Both fields are text format too.
Any help is appreciated
Thanks
I want to exclude any records from the query where [ExtRef] matches [MPN] and I'm struggling to do this, I thought it would work out be quite simple but that hasn't been the case for me.
I can pull records out where both field match but thats the opposite of what I want.
The code I'm using to try and exclude records where the fields match is:
Code:
Not "[mpn]"
That is in the [ExtRef] criteria.
Both fields are text format too.
Any help is appreciated
Thanks
Last edited: