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

Pagewise running total

Status
Not open for further replies.

sauravmahajan

Programmer
Sep 29, 2003
1
IN
Hi

In one report i want to display the pagewise totals. And those totals should be independent i.e. i dont want the cummulative totals on each page but independent totals for the records on that particular page.

Any Ideas how can i sort out this problem

Thanx





 
The standard method in Crystal 8.5 uses variables, placed in the proper sections to begin afresh for each page. Do three Formual fields, placed as follows
In the page header:
WhilePrintingRecords;
Numbervar PTotal:=0;

In the detail section:
WhilePrintingRecords;
Numbervar PTotal:= PTotal+{Your.Field};

In the page footer
WhilePrintingRecords;
Numbervar PTotal;
use Currencyvar if you want to find a currency total.

Madawc Williams
East Anglia, Great Britain
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top