One way is to simply sort by orderdate within the customerID group. Then simply put the info you want (eg.order date, amount, etc.) in the group footer. Since you sorted by date in assending order, the last record in the group will necesarily be the last order date.
This will work very well if you are suppressing the detail section.
If you must show the detail section and you cannot accept the idea of sorting by order date (perhaps you must show by amount, etc. ) then you can do the following:
Create a running total
- Use orderdate as the field to total
- pick maximum as the summary.
- pick your customer ID group.
Place the running total in the group footer.
Howard Hammerman,
Crystal Reports training, consulting, books, training material, software, and support. Scheduled training in 8 cities.
howard@hammerman.com
800-783-2269