Here are my three totals that I need to sum:
{#RTotal1}*.0125
{#RTotal0}*.0125
IF ({AR_Customer.SalespersonNo} = "BSB") AND {#RTotal0}>= 76930 then ({#RTotal0}-76930) *.050 ELSE 0.00
I created a variable to sum but it is not working (it prints "false"). I put it in report footer and my other calculations are in Group Footer #1
whileprintingrecords;
numbervar TotCommSum;
TotCommSum=TotCommSum+{@Svccommamt}+{@salecommamt}+{@bonuscom}
Thanks for your help.
{#RTotal1}*.0125
{#RTotal0}*.0125
IF ({AR_Customer.SalespersonNo} = "BSB") AND {#RTotal0}>= 76930 then ({#RTotal0}-76930) *.050 ELSE 0.00
I created a variable to sum but it is not working (it prints "false"). I put it in report footer and my other calculations are in Group Footer #1
whileprintingrecords;
numbervar TotCommSum;
TotCommSum=TotCommSum+{@Svccommamt}+{@salecommamt}+{@bonuscom}
Thanks for your help.