You guys are probably gonna laugh me out of this forum, but I need help! I haven't used Access in over 5 years and I used to think I was pretty savy, but no more. Anyway, here's the scenario.
I have a CUST table and an INVENTORY table
They both contain CUSTID fields. The CUSTID in the CUST table is unique obviously, but in the INVENTORY table the CUSTID can be used more than once (basically one for each Item the cust bought).
I want to do a query that will pull all INVENTORY->CODE for people that own items A or B (or A & B) but I want to exclude anyone that owns Item C. I used INVENTORY->CODE="A" And Not INVENTORY->CODE="C," for just the A customers which eliminated all the C's, but Some of the remaining CUSTIDs that showed the cust owned product A were found to own C's too? I want to eliminate anyone that owns a C. I didn't want any A's to come up if they owned a C as well.
I linked the CUST table to the INVENTORY table by CUSTID, so I don't know what I did wrong? Any help would be greatly appreciated.
Dan
I have a CUST table and an INVENTORY table
They both contain CUSTID fields. The CUSTID in the CUST table is unique obviously, but in the INVENTORY table the CUSTID can be used more than once (basically one for each Item the cust bought).
I want to do a query that will pull all INVENTORY->CODE for people that own items A or B (or A & B) but I want to exclude anyone that owns Item C. I used INVENTORY->CODE="A" And Not INVENTORY->CODE="C," for just the A customers which eliminated all the C's, but Some of the remaining CUSTIDs that showed the cust owned product A were found to own C's too? I want to eliminate anyone that owns a C. I didn't want any A's to come up if they owned a C as well.
I linked the CUST table to the INVENTORY table by CUSTID, so I don't know what I did wrong? Any help would be greatly appreciated.
Dan