Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

IIF STATEMENT WON'T WORK 1

Status
Not open for further replies.

nomi1

Programmer
Oct 17, 2006
16
US
I am trying to insert an "IIF" statment into a field and each time I do it gives me the messaage that an identifier is needed. My IIF statement is as follows:

=IIF([MASTER.TOTAL HRS EARNED]>90,"SENIOR",IIF([MASTER.TOTAL HRS EARNED]>60,"JUNIOR",IIF([MASTER.TOTAL HRS EARNED]>30,"SOPHOMORE",IIF([MASTER.TOTAL HRS EARNED]>0,"FRESHMAN","value missing"))))

Can someone please tell me what I am doing wrong?

Naomi
 
What is the '=' at the beginning? Shouldn't be there, I don't believe.


Tony McGuire
"It's not about having enough time; we have the rest of our lives. It's about priorities.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top