How can I exclude a customer completely from a queries results if that customer meets 1 or more of the specified criteria? Let me explain:
I have a Customer table and a Mailshot table linked by Customer Number. There are about 25 different mailshots. A customer can have been sent any combination of these mailshots. I want my query to exclude customers that have been sent mailshots 1, 2 & 3, which is fine, however if a customer has been sent 1, 2 & 9 I want it to exclude that customer completely because they have had 1 & 2. The trouble I am having is that it is leaving the customer in my results with mailshot 9.
What can I do?
I hope this makes sense.
Thanks in advance.
I have a Customer table and a Mailshot table linked by Customer Number. There are about 25 different mailshots. A customer can have been sent any combination of these mailshots. I want my query to exclude customers that have been sent mailshots 1, 2 & 3, which is fine, however if a customer has been sent 1, 2 & 9 I want it to exclude that customer completely because they have had 1 & 2. The trouble I am having is that it is leaving the customer in my results with mailshot 9.
What can I do?
I hope this makes sense.
Thanks in advance.