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

Running total in page footer

Status
Not open for further replies.

bascy

Programmer
Mar 6, 2001
53
NL
Hello,

I'm printing an invoice from two dbf-tables.
If the report is longer than one page i want a subtotal in the page footer, on the last past i want the grand total.

This is what i'v done:
I created two page footers, overlaying, one shows when Pagenumber = Totalpagecount (i.e. the end page), and the other shows the subtotal, which is a running total of the price-field of each line.

THis is what's happening:
The subtotal appears ... but it includes the price from the first line of the next page! When i added the recordnumber to the page footer, it still (correctly) showed the recordnumber of the last record of the first page.

How can the report add the price to the subtotal ...before its reading the record?????

anyone got any suggestions?
 
What version of CR?
How are you creating the running total field?
Ken Hamady, On-site Custom Crystal Reports Training & Consulting
Public classes and individual training.
Guide to using Crystal in VB
tek@kenhamady.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top