Crystal - Sum running total in footer (global var)
Posted on 2013-11-14
Report has two groups:
group 1: Sales Rep
Group 2: Product
in group 2 footer I have a formula called "incentive" that uses two running totals to return a value.
Footer Group 1: I want to return the sum of "incentive" in group 1 footer but not sure how to do that.
I tried using globalvar but can not get to work correctly (see below)
Global Numbervar totalincentive;
Local numbervar numout3 :=0;
totalincentive:= totalincentive + numout3;
PRODUCT 12345 TOTAL INCENTIVE: $2
PRODUCT 123456 Total Incentive: $3
Total for sales rep X $5