I am attempting to group a list of Matter_No based on the analyst who handled the last stage of a Matter_No.
The fields in question include the following:
Table 1
Matter_No Stage Start Date Attorney
123 2 10/01/2001 John Smith
123 5 10/01/2003 John Doe
154 2 10/01/2001 John Doe
154 5 10/01/2003 John Smith
160 2 10/01/2001 John Smith
160 5 10/01/2003 John Doe
Table 2
Attorney Analyst
John Smith Analyst I
John Doe Analyst II
Table 1 and 2 is linked by Attorney. My approach was to first determine the Maximum (Start Date) for each Matter_No (involves grouping the Matter_No). Using the Report/Edit Selection/Group/ option, I include the criteria that the Maximum (Start Date) = Start Date which results in the following listing:
Matter_No Stage Start Date Attorney Analyst
123 5 10/01/2003 John Doe Analyst II.
154 5 10/01/2003 John Smith Analyst I.
160 5 10/01/2003 John Doe Analyst II.
Next, I changed the primary grouping to the Analyst so that the list is sorted by the Analyst. The listing changed to:
Analyst I
Matter_No Stage Start Date Attorney
123 2 10/01/2001 John Smith
154 5 10/01/2003 John Smith
160 2 10/01/2001 John Smith
Analyst II
Matter_No Stage Start Date Attorney
123 5 10/01/2003 John Doe
154 2 10/01/2001 John Doe
160 5 10/01/2003 John Doe
I realize what is going on, but is there any way to prevent this from happening?
Thanks,
William
The fields in question include the following:
Table 1
Matter_No Stage Start Date Attorney
123 2 10/01/2001 John Smith
123 5 10/01/2003 John Doe
154 2 10/01/2001 John Doe
154 5 10/01/2003 John Smith
160 2 10/01/2001 John Smith
160 5 10/01/2003 John Doe
Table 2
Attorney Analyst
John Smith Analyst I
John Doe Analyst II
Table 1 and 2 is linked by Attorney. My approach was to first determine the Maximum (Start Date) for each Matter_No (involves grouping the Matter_No). Using the Report/Edit Selection/Group/ option, I include the criteria that the Maximum (Start Date) = Start Date which results in the following listing:
Matter_No Stage Start Date Attorney Analyst
123 5 10/01/2003 John Doe Analyst II.
154 5 10/01/2003 John Smith Analyst I.
160 5 10/01/2003 John Doe Analyst II.
Next, I changed the primary grouping to the Analyst so that the list is sorted by the Analyst. The listing changed to:
Analyst I
Matter_No Stage Start Date Attorney
123 2 10/01/2001 John Smith
154 5 10/01/2003 John Smith
160 2 10/01/2001 John Smith
Analyst II
Matter_No Stage Start Date Attorney
123 5 10/01/2003 John Doe
154 2 10/01/2001 John Doe
160 5 10/01/2003 John Doe
I realize what is going on, but is there any way to prevent this from happening?
Thanks,
William