J
jcarson
I am new to Access (trying to teach myself) and I'm having a syntax problem
with the below statement.
IIf([P]="Z","LAST",IIf([P]="U","LAST",IIf([MT]=0,"Delete",IIf([DF]<>0,"Delete","OK"))))
What I am trying to say is if value of [p] is Z or U return Last, if
[mt]=0 return delete, if [df] does not equal 0 return delete, else return OK.
I thought a nested iif would get the job done but i think i'm missing
something.
with the below statement.
IIf([P]="Z","LAST",IIf([P]="U","LAST",IIf([MT]=0,"Delete",IIf([DF]<>0,"Delete","OK"))))
What I am trying to say is if value of [p] is Z or U return Last, if
[mt]=0 return delete, if [df] does not equal 0 return delete, else return OK.
I thought a nested iif would get the job done but i think i'm missing
something.