Hi?
I want create a report that seam like this
page1
Creating a Page Total in Crystal Reports
I created 3 formulas field called reset,accum,display
//reset formula1
WhilePrintingRecords;
shared numbervar total := 0
//accum formula2
WhilePrintingRecords;
shared numbervar total := total + {table.numberfield};
//display formula3
WhilePrintingRecords;
Shared numbervar total;
Total
I Placed the formula field reset in the page header and I "suppress" it
I Placed the formula field accum in the details section. and I suppress it.
I Placed the formula field display in the page footer.
the result is fine in all page but in the last page my total appear in the footer of page but me i want to appear in above the table
exemple
exemple1
id_field|column1|column2
1_______|10_____|20____
2_______|30_____|21____
___total=40
exemple2
id_field|column1|column2
1_______|10_____|20____
2_______|30_____|21____
.
.
.
.
.
.
.
.
.
.
.
___total=40
if my my last page have only two records
the gap between my table a my total is huge
what i want is to but the total in the last page directly above my table (exemple1)and not in the footer of page(example2)
thx in advance
I want create a report that seam like this
page1
Creating a Page Total in Crystal Reports
I created 3 formulas field called reset,accum,display
//reset formula1
WhilePrintingRecords;
shared numbervar total := 0
//accum formula2
WhilePrintingRecords;
shared numbervar total := total + {table.numberfield};
//display formula3
WhilePrintingRecords;
Shared numbervar total;
Total
I Placed the formula field reset in the page header and I "suppress" it
I Placed the formula field accum in the details section. and I suppress it.
I Placed the formula field display in the page footer.
the result is fine in all page but in the last page my total appear in the footer of page but me i want to appear in above the table
exemple
exemple1
id_field|column1|column2
1_______|10_____|20____
2_______|30_____|21____
___total=40
exemple2
id_field|column1|column2
1_______|10_____|20____
2_______|30_____|21____
.
.
.
.
.
.
.
.
.
.
.
___total=40
if my my last page have only two records
the gap between my table a my total is huge
what i want is to but the total in the last page directly above my table (exemple1)and not in the footer of page(example2)
thx in advance