I am trying to create a report that would eliminate all records of persons that have a source code of P after a certain date and/or persons with a interaction type of PH. For example:
Name Source Code Date Interaction
Mary A 03/2/2002
Mary P 02/7/2002 M
Mary AT 01/7/2002 OT
Pat 02/8/2002 TA
Pat H 03/3/2001 P
Jim AT 02/7/2002 PH
Jim H 02/7/2002 M
All Mary's records should be eliminated as well as Pat's
and should return only the one record of Jim's with the interaction of PH.
This has to be written in a Crystal Report and I could use someone to point me in the right direction...Temp Table?
Stored Procedure?
Name Source Code Date Interaction
Mary A 03/2/2002
Mary P 02/7/2002 M
Mary AT 01/7/2002 OT
Pat 02/8/2002 TA
Pat H 03/3/2001 P
Jim AT 02/7/2002 PH
Jim H 02/7/2002 M
All Mary's records should be eliminated as well as Pat's
and should return only the one record of Jim's with the interaction of PH.
This has to be written in a Crystal Report and I could use someone to point me in the right direction...Temp Table?
Stored Procedure?