1. group by customer
2. sort the details by descending order number
3. suppress or hide details
4. put the fields you wish to show in the group header - the values from the first record in that group will be shown, which will be the record with the highest order number (most recent) for that customer (because of the sort in step 2)
That will print only the most recent, but it will bring back all of them. Keep in mind that any totals will include the hidden records. There is no way for CR to only bring back the most recent. However, another technique is to use a group selection formula:
{field} = Maximum ({field},{groupfield})
This still brings back all of the other records into memory, but you can't see them, and if you use running totals they only include the max value records. Ken Hamady
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.