Crystal Reports 2008 Oracle 10g
Hi all. Need some help with this one. I have a table with records:
FLD-1 FLD-2 FLD-3
A A 01-JAN-2011
A B 10-JAN-2011
B C 02-JAN-2011
C C 03-JAN-2011
D C 12-JAN-2011
I need to group/break by FLD-2 but only include the newest record for FLD-1 based on FLD-3
The above example shows 2 records for FLD-1 A. I only want to see the FLD-1 A record for FLD-2 B because it has a newer date in FLD-3.
Somehow need to group on FLD-1 but keep FLD-2 as the major grouping. At the moment, I am thinking command file to do the FLD-1 grouping but prefer not to. Subreport the only other option?
Ideas?
Hi all. Need some help with this one. I have a table with records:
FLD-1 FLD-2 FLD-3
A A 01-JAN-2011
A B 10-JAN-2011
B C 02-JAN-2011
C C 03-JAN-2011
D C 12-JAN-2011
I need to group/break by FLD-2 but only include the newest record for FLD-1 based on FLD-3
The above example shows 2 records for FLD-1 A. I only want to see the FLD-1 A record for FLD-2 B because it has a newer date in FLD-3.
Somehow need to group on FLD-1 but keep FLD-2 as the major grouping. At the moment, I am thinking command file to do the FLD-1 grouping but prefer not to. Subreport the only other option?
Ideas?