I have a formula field called TotUnits with this code:
WhilePrintingRecords;
NumberVar UnitAmount;
UnitAmount := UnitAmount + {@Amount};
And gets printed at the group footer with this code:
WhilePrintingRecords;
NumberVar UnitAmount;
And this is get reset everytime the group header change
WhilePrintingRecords;
NumberVar UnitAmount;
But i also need to use the total Unitamt for my formula for the next column and i don't know how. Please HELP....
This is the output that i would like to happen
Amt Allocation Value(%)
----- -------------------
3225 3.63% (this is (3225/88,914)*100)
9077 10.21%
14044 15.80%
5803
22788
1551
31833
593
--------
88,914 ==> this is the Unit Amount
WhilePrintingRecords;
NumberVar UnitAmount;
UnitAmount := UnitAmount + {@Amount};
And gets printed at the group footer with this code:
WhilePrintingRecords;
NumberVar UnitAmount;
And this is get reset everytime the group header change
WhilePrintingRecords;
NumberVar UnitAmount;
But i also need to use the total Unitamt for my formula for the next column and i don't know how. Please HELP....
This is the output that i would like to happen
Amt Allocation Value(%)
----- -------------------
3225 3.63% (this is (3225/88,914)*100)
9077 10.21%
14044 15.80%
5803
22788
1551
31833
593
--------
88,914 ==> this is the Unit Amount