Solved

Using an "Or" Statment

Posted on 2009-05-05
3
225 Views
Last Modified: 2013-11-27
Source: IIf([Account]=15190 Or 5190,"CAP",(IIf([Account]=73090 0r 3090,"EXP","ERROR")))

I am not sure if I need to add more If statments, or if I am putting the 'or' in a werid spot???!?!?
0
Comment
Question by:SueMos
  • 2
3 Comments
 
LVL 16

Accepted Solution

by:
Chuck Wood earned 500 total points
ID: 24306159
I think this is what you are trying for:

IIf(([Account]=15190 Or [Account]=5190),"CAP",IIf(([Account]=73090 0r [Account]=3090),"EXP","ERROR"))

Open in new window

0
 

Author Comment

by:SueMos
ID: 24306210
I knew it was some little thing!! Thanks!

Source: IIf(([Account]=15190 Or [Account]=5190),"CAP",IIf(([Account]=73090 Or [Account]=3090),"EXP","ERROR"))

Open in new window

0
 
LVL 16

Expert Comment

by:Chuck Wood
ID: 24306223
You're welcome. Good luck with your project.
0

Featured Post

The New “Normal” in Modern Enterprise Operations

DevOps for the modern enterprise offers many benefits — increased agility, productivity, and more, but digital transformation isn’t easy, especially if you’re not addressing the right issues. Register for the webinar to dive into the “new normal” for enterprise modern ops.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Occasionally there is a need to clean table columns, especially if you have inherited legacy data. There are obviously many ways to accomplish that, including elaborate UPDATE queries with anywhere from one to numerous REPLACE functions (even within…
Phishing attempts can come in all forms, shapes and sizes. No matter how familiar you think you are with them, always remember to take extra precaution when opening an email with attachments or links.
With Microsoft Access, learn how to specify relationships between tables and set various options on the relationship. Add the tables: Create the relationship: Decide if you’re going to set referential integrity: Decide if you want cascade upda…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

860 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question