Hi all,
Im new to access, after learning basics Iam trying to build my first DB.
Having some troubles with the IIF synax. Iam placing the formula
=IIf([Total]<=(200),[Total]*(0.7)) & IIf([Total]>(201)&[Total]<=(500),[Total]-(200)*(1)+(140)) & IIf([Total]>(501),[Total]-(500)*(1.2)+(300)+(140))
In the form data control source of a field. The first 2 statement seems to work, but the last statement results in some crazzy figures.
Any help would be much appreicated or work around
:banghead:
Kind
Regards
Cam
Im new to access, after learning basics Iam trying to build my first DB.
Having some troubles with the IIF synax. Iam placing the formula
=IIf([Total]<=(200),[Total]*(0.7)) & IIf([Total]>(201)&[Total]<=(500),[Total]-(200)*(1)+(140)) & IIf([Total]>(501),[Total]-(500)*(1.2)+(300)+(140))
In the form data control source of a field. The first 2 statement seems to work, but the last statement results in some crazzy figures.
Any help would be much appreicated or work around
:banghead:
Kind
Regards
Cam