Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Sum records without supressed amounts.

Status
Not open for further replies.

MB57630

Programmer
Jan 29, 2010
5
US
thread767-1436620

I have a report where the records are visually suppressed if there are duplicates. It is not suppressing the row, which is how I want it, but when I total the amounts it is totaling all the values, including the suppressed amounts. Is there a way to total the amounts like the figure below?

50 30
22
20
19
21
15 16
 
You should insert a running total that evaluates on change of the field you are summing--if that's really what you mean. The question I would have is how do you know what is a duplicate versus a valid value that is the same as the previous one. Ordinarily you would evaluate on change of some unique ID field. The running total would go in the footer.

-LB
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top