Hello DBlank
Thank you for replying back.
Yes I have a variable formula called UNITS. Here is the formula I have for UNITS:
WhilePrintingRecords;
Global NumberVar units;
units := units + ({Command.EVECEQ} / 15);
I have this variable in my detail section and is working correctly. It calculates the units and keeps a running total of units until I reset it to zero on the next group header.
I created another variable called DisplayUnits. Here is the formula I have for DisplayUnits:
I have it placed in my group footer. What its doing is executing my UNITS variable again then displaying the result in the group footer. The last record in each group is being executed twice instead of once. I need DisplayUnits to just display the result of UNITS not execute it again.