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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Total of Group Footer records in Report Footer?

Status
Not open for further replies.

mrtroy

Technical User
Jan 28, 2003
23
US
I have a table that resembles this:

RECID ITEM COST
001 ALPHA 5.00
002 ALPHA 6.00
003 ALPHA 7.00
004 BRAVO 3.00
005 BRAVO 4.00.

My report is set up so that the output is the last record for any given item. I do this by hidding the details and putting fields in the group footer. I want to sum the cost of the last record for each item only. If I insert a summary into the report footer I get 25.00. What I want is 11.00. How can I do this?



 
Try grouping on item (you can suppress the group header and footer if you want), and sorting DESCENDING on {table.recID}. Then use a running total that sums cost, evaluates on change of group, and resets never.

Place the running total in the report footer.

-LB
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top