Nested If statements in microsoft access

Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

mjomha

Thread Starter
Joined
Nov 7, 2011
Messages
2
hello guys!

Taking a computer course at university and we are learning microsoft access 2007

I am having a problem with nested if statements in access I've been trying to solve it but couldn't figure it out so hope someone here can help me out.

In Query1, create a new field called profitability. This field should display “very profitable” if the calculated profit was greater than 1,000,000; “profitable” if the profit was less than or equal to 1,000,000 and greater than 100,000; “OK” if the profit was less than or equal to 100,000 and greater than 10,000; and “not enough” otherwise.
I managed to get the "Profitable" to show in the table but having problems with the others.

This is what I wrote:

Expr1: IIf([Profit]>1000000,"very profitable"
After that I got stuck tried a few things but getting frustrated.

Thanks for the help.
 

etaf

Wayne
Moderator
Joined
Oct 2, 2003
Messages
65,484
By the way its not an assignment I am actually studying for a test and that question was an exercise we did during class but did not fully understand it.
so have a read of the website i posted and see if that helps - if not then post back and we can try and help - without actually doing it - if you see what I mean
 
Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 807,865 other people just like you!

Latest posts

Staff online

Members online

Top