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
How do you remotely access environment variables via Computer Management in Windows Vista?
Command button code
VBA Control (Box) Design Questions
Changing the case, Forcing all caps in a vb.net Windows app
How can i hide root level of TreeView in Silverlight?
MS Access 2003 ... Add customized code to form created by Wizard
Restrict Formatting & Editing, Start Enforcement Option not Available
How to change open directory in msoFileDialogOpen (Excel Vba)
Windows SBS 2008 DCPROMO fails - The Replication Operation Failed to Allocate Memory
Incrementing a field in a query