I am trying to suppress all but the last record of each group. Is it possible to write a formula to select the last record (OnLastRecord) of each group, rather than the last record of the entire report?
It is actually a group within a group within a group, so it makes it a little more difficult. Basically, the easiest solution that I can think of (if it were possible) is to create a running count to count each record within the group:
I then reset the counter on the next group. I would like to suppress everything in the group except for the Maximum{counter} or NthLargest(1, {counter},....). I get "Field cannot be summarized."
I think your missing SV's point. If you move the fields that you would normally put in your Detail section, into your inner most Group Footer (GF3 based upon your second post), only the last record for each group will print.
I guess I wasn't clear. Sorry. I am actually trying to suppress the footer, so If I moved everything to that footer, I will be supressing everything. The layout looks like this:
GH1
GH2
GH3
Da
Db
Dc
GF3 Running Totals in this footer.
GF2
GF1
I need suppress everything but the last GF3 Footer before GH1 begins again. I hope this makes sense!
It's difficult to imagine a situation that would call for this kind of suppression--unless maybe group 3 is based on a datefield? Anyway, if you mean you have a setup like this:
GH1
GH2
GH3
details
GF3 //suppress this
GH3
details
GF3 //suppress this
GH3
details
GF3 //Do not suppress this
GF2
GF1
Then create a running total {#grpcnt} using the running total editor by selecting the Group 3 field, distinctcount, evaluate for every record, reset on change of group 3. Place this in the Group Footer #3. Then go to format section->Group footer #3->suppress->x+2 and enter:
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.