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

Using COMPUTE for SUBOTALS and GRAND TOTALS

Status
Not open for further replies.

LeonelSanchezJr

Programmer
Jan 26, 2001
522
US
I have some fields that I am using COMPUTE to create SUBTOTALS. I am using this because I am using special calculations.

The SUBTOTALS work great, but the GRAND TOTALS display the previous SUBTOTALS.


Thanks,

Leo ;-)
 
Leo,

I'm guessing that you're using COMPUTE to keep a 'running-total' type of calculation, so the 'last' line at each sort break contains the fields to be displayed in the SUBFOOT, as a SUBTOTAL.

If so, you may need a second set on COMPUTES, to calculate the GRAND TOTAL values, to be placed in an ON TABLE SUBFOOT.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top