IIf statement

J

JeffH

I'm getting an error message with my "iif" statement and not sure why. My
problem stems from the "or" equation. I'm sure I don't have the right syntax
for the "or" statement. See below.

Underwriting Age2: IIf([Quote Status]=("Underwriting" Or "UW -
Pended"),Now()-[tblSalesData]![Date New Business Submission Received in
Underwriting],"N/A")
 
S

Steve Schapel

Jeff,
IIf([Quote Status]="Underwriting" Or [Quote Status]="UW - Pended", ...

--
Steve Schapel, Microsoft Access MVP
I'm getting an error message with my "iif" statement and not sure why. My
problem stems from the "or" equation. I'm sure I don't have the right syntax
for the "or" statement. See below.

Underwriting Age2: IIf([Quote Status]=("Underwriting" Or "UW -
Pended"),Now()-[tblSalesData]![Date New Business Submission Received in
Underwriting],"N/A")
 

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