Microsoft
Software
Hardware
Network
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
SQL Query dense rank
Insert Range Contents into a UserForm
Include signature when creating new e-mail from VBA command
MS access VB string not updating with fields from search form
How to open website (hosted on Win Server 2008, IIS) in Microsoft Frontpage 2000?
How to insert semicolon next to my values in excel column
Scan and update ...
Exchange 2007 - Transport Rule
How do I force a '0' value into a report
Find the syntax error in a INSERT INTO statement