L
Lisa C
I am trying to create an iif statement and am having problems.
This is what I have:
=IIf(([Description]="A" And [UserFld3] Like
"I"),"B",[Description],IIF(([Description]="A" And [UserFld3] Like
"P"),"C",[Description]))
This is what I want the results to be:
If Description="A" and UserFld3 is like "I" then "B" else Description
if Description="A" and UserFld3 is like "P" then "C" else Description
Is my nesting wrong, do I need to move criteria around?
Thanks,
Lisa
This is what I have:
=IIf(([Description]="A" And [UserFld3] Like
"I"),"B",[Description],IIF(([Description]="A" And [UserFld3] Like
"P"),"C",[Description]))
This is what I want the results to be:
If Description="A" and UserFld3 is like "I" then "B" else Description
if Description="A" and UserFld3 is like "P" then "C" else Description
Is my nesting wrong, do I need to move criteria around?
Thanks,
Lisa