I have a query which when run contains 79 records.
One of the fileds in the query is "Customer account" and this field can contain the following account codes
F003, N034, P064, H064, I004, ZIN01, XD12345. XD12346, YE12345, YE12346, G056, YA12345, YA12346, CO29
In order to make up the 79 records, some of theses codes are repeated.
There are also records where the Customer account field has nothing entered into it.
I want to run a second and third query where some of the records are removed.
With the second query I want to remove I004, any XD accounts, any YE accounts and all records where the account code has not been entered.
With the third query I want the opposite i.e all the remaining records which are not shown in query 2.
I am sure the code for this is simple, but I can't seem to get the combination correct where it gives me exactly what I need
Any help ......?
Thank you