Hi,
How do I compare the same field in a group? For example, I have the following data (grouped by CASE_NUM):
CASE_NUM PID
JD-2010-00001 12345
JD-2010-00001 12345
JD-2010-00002 12346
JD-2010-00002 12347
I need to compare the PID's in each group and if the PID's are different in the case_num group, display that case_num group. If the PIDs are identical in the case_num group, do not display.
In my example, only the JD-2010-00002 records would display.
Thanks for your expertise!
Teresa
How do I compare the same field in a group? For example, I have the following data (grouped by CASE_NUM):
CASE_NUM PID
JD-2010-00001 12345
JD-2010-00001 12345
JD-2010-00002 12346
JD-2010-00002 12347
I need to compare the PID's in each group and if the PID's are different in the case_num group, display that case_num group. If the PIDs are identical in the case_num group, do not display.
In my example, only the JD-2010-00002 records would display.
Thanks for your expertise!
Teresa