Question : How to use "if" statement in access 2003

I have one field in form which is product of two other fields eg hours x rate gives gross pay. The next field is to be taxes which I want to calcualte by using a nested if statement eg if gross pay<  500, then tax = 10%, if gross pay >499 & <800 then tax = 20%. This is an urgent refresher call. Where do I write the code and how. TIA
Leighjor

Answer : How to use "if" statement in access 2003

Hi LeighJor,

=iif([gross pay]<  500,0.1,iif([gross pay] <800,0.2))


Good Luck!

Gary
Random Solutions  
 
programming4us programming4us