I have a situation where I need to select orders where they have more than one license designation on an order and order detail level. The rub is if they have more than 1 I need to show all of the detail level records.
Data:
Customer, Order number, License
Bill 24000 PD
Jane 19200 PD
19200 SP
Joe 24001 FO
23001 FO
19455 PD
Stu 34000 FO
85999 FO
75600 FO
So from the example above I would need to see all of Jane and Joes orders as they have more than 1 license per order (at detail level). NOTE: Jane's has 2 different license on detail level versus Joe who (while also at detail level) the each orders details have a different license. I assume I need to save the license value that first comes in for a customer to check for the differences on the rows of data. My data is grouped by customer, shipweek, order number, license. We are using Crys 8.5 on VFP 8.o
Thanks, Cindy
Data:
Customer, Order number, License
Bill 24000 PD
Jane 19200 PD
19200 SP
Joe 24001 FO
23001 FO
19455 PD
Stu 34000 FO
85999 FO
75600 FO
So from the example above I would need to see all of Jane and Joes orders as they have more than 1 license per order (at detail level). NOTE: Jane's has 2 different license on detail level versus Joe who (while also at detail level) the each orders details have a different license. I assume I need to save the license value that first comes in for a customer to check for the differences on the rows of data. My data is grouped by customer, shipweek, order number, license. We are using Crys 8.5 on VFP 8.o
Thanks, Cindy