Hi i have a little problem i would like some help with.
I have been asked to create a report of customers that have all 3 specific codes.
The report will consist of two tables Customer and CustomerCode which has a one to many link between Customer and CustomerCode.
I can easily create a report using the is one of statment and this brings back any customer with any one of the codes, i need to bring back customers who have all 3 codes.
So for example, using the is one of statement i get
What i need the report to produce is just Customer2 as it has all 3 codes
It sounds so easy doesn't it? but i am STUCK
Many thanks for any help
Deleco
I have been asked to create a report of customers that have all 3 specific codes.
The report will consist of two tables Customer and CustomerCode which has a one to many link between Customer and CustomerCode.
I can easily create a report using the is one of statment and this brings back any customer with any one of the codes, i need to bring back customers who have all 3 codes.
So for example, using the is one of statement i get
Code:
Customer1 0001
Customer2 0001
Customer2 0002
Customer2 0003
Customer3 0002
Code:
Customer2 0001
Customer2 0002
Customer2 0003
It sounds so easy doesn't it? but i am STUCK
Many thanks for any help
Deleco