hello, i am facing problem with my unbound field Food1 calculation, i can get my Food1 to calculate, but when I created another unbound field Sum_Food1 to SUm/TOtal my Food1, and i run my report, its been asking me for the Parameter Value of Sum_Food1
Food1= IIf([Text78] Between [Forms]![Salary Calculation]![Text0] And [Forms]![Salary Calculation]![Text2],[Food],IIf([SumOfNormal]<>Max([SumOfNormal]),IIf([Food]>0,[Food]/[days]/8*[SumOfNormal],[Food]),[Food]))
I enclosed my access file, maybe somebody can help me, and by the way, i am trying to create a small salary program, to run the file jujst click Salary Calculation, then fill in the date data 01/02/2008 and 29/02/2008 and selec Salary Sheet.
On the Salary Report Sheet, you will notice 2 "Food/ Other Allowance" field. the one on the left is my unbound field Food1 while the other one is my bound field Food, computation differs when you go to Page2, now i need my Food1 Field to compute the Sum and not the Food Field
Food1= IIf([Text78] Between [Forms]![Salary Calculation]![Text0] And [Forms]![Salary Calculation]![Text2],[Food],IIf([SumOfNormal]<>Max([SumOfNormal]),IIf([Food]>0,[Food]/[days]/8*[SumOfNormal],[Food]),[Food]))
I enclosed my access file, maybe somebody can help me, and by the way, i am trying to create a small salary program, to run the file jujst click Salary Calculation, then fill in the date data 01/02/2008 and 29/02/2008 and selec Salary Sheet.
On the Salary Report Sheet, you will notice 2 "Food/ Other Allowance" field. the one on the left is my unbound field Food1 while the other one is my bound field Food, computation differs when you go to Page2, now i need my Food1 Field to compute the Sum and not the Food Field