How do you exclude records based on values in multiple rows? If a customer has purchased "BEH" in the past, exclude customer from results...
If I exclude only BEH, then I will still get CustID 13.
Desired results:
BTW...My SQL experience - I cheat by writing the basic query in Access then convert to them to SQL commands for use in Crystal Reports and doctor the SQL further, if needed.
Thanks,
DA
___________________________________________
Crystal Reports 2008
BusinessObjects Enterprise XI 3.1
MS SQL Server 2005 (SQL Server 9.0.4035)
MS Access 2007
Code:
CustID Order# ProdDesc
13 0001 BEH
13 0002 CS
15 0003 CS
12 0004 BEH
14 0005 VR
15 0006 PS
12 0007 BEH
If I exclude only BEH, then I will still get CustID 13.
Desired results:
Code:
CustID Order# ProdDesc
15 0003 CS
14 0005 VR
15 0006 PS
BTW...My SQL experience - I cheat by writing the basic query in Access then convert to them to SQL commands for use in Crystal Reports and doctor the SQL further, if needed.
Thanks,
DA
___________________________________________
Crystal Reports 2008
BusinessObjects Enterprise XI 3.1
MS SQL Server 2005 (SQL Server 9.0.4035)
MS Access 2007