Access IIf function in MS Access

Joined
Apr 9, 2010
Messages
2
Reaction score
0
HI All,

I need help in writing a formula in MS Access (I am using Access 2000)

Here is the condition for formula

If A="No" LM = 0
If A="Yes" and B>6500 then LM = 6500*8%
If B<6500 then B*8%

please suggest me how to write the formula

Now I am directly using a formula like If B>6500 then 800 else B*8%

please do the needful

vijaya
 
Joined
Apr 9, 2010
Messages
2
Reaction score
0
Hi
I got the solution:
here it is
IIf([A]=0,0,IIf([A]=1,800,IIf([A]=2,*0.12))) AS LM
its working
thanks for your support
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top