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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

"AND" statement within an "iif" statement

Status
Not open for further replies.

GaborH

Technical User
Nov 5, 2003
48
US
Can someone be kind enough to give me a hint as how I can incorporate an "and" statement withing the criteria of an "iif" statement?

Thank you!
 
Hi GaborH,

Have you tried the obvious ...

Code:
[blue]IIF([Field1] = "Value1" AND [Field2] = "VAlue2",True,False)[/blue]
?

Enjoy,
Tony

--------------------------------------------------------------------------------------------
We want to help you; help us to do it by reading this: Before you ask a question.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top