I am trying to figure out some code for a report issue;
I have an employee who has a incentive scheme.
I have a report showing various income amounts and in the report footer I vae totals for these feilds =sum([XXX]) these work fine.
I also have in the detail feild Overall text boxes for the three feilds concerned
I then have in the report footer =[xx]+[xx]+[xx] which give me a grand total for the report also works fine.
I now need to have a more complex formula which alows for;
if the grand total is greater than 8333 then subtract from the grand total 8333 then divide the new total by 2
I have this formula in excel and it is written =if(total>8333,total-8333)/2
Any help with this will be greatly appreciated!
Bob