You might be able to do this using running totals (which can be max or min values instead of "totals"), or you may have to use variables.
To use Running Totals:
- Group on Cl_num.
- Create a new running total field for each date (p1, p2, p3).
- Field to Summarize: your date field.
- Type of Summary: maximum.
- Evaluate based on a formula (change for each "p" number): {table.ptype} = 'p1'
- Reset on Change Of Group: cl_num.
Put your data in the cl_num group footer instead of on the details line.
-Dell
(I haven't tried this but it should work....)
Edited by hilfy - 17 Jul 2007 at 2:07pm