Hi all,
I'm having a hell of a time trying to return the correct value on a double iif statement. The SQL is as follows and I think it should work, any ideas????
IIf(([FIELD1]="VARIABLE1",(IIf([FIELD2]="*VARIABLE2*",[RETURN1])),[RETURN2])
I've also tried variations using the AND statement as follows:
IIf(([FIELD1]="VARIABLE1"AND([FIELD2]="*VARIABLE2*",[RETURN1])),[RETURN2])
At a complete loss and any assistance GREATLY appreciated.
Cheers
Mike
remember...every step is a step forward..
I'm having a hell of a time trying to return the correct value on a double iif statement. The SQL is as follows and I think it should work, any ideas????
IIf(([FIELD1]="VARIABLE1",(IIf([FIELD2]="*VARIABLE2*",[RETURN1])),[RETURN2])
I've also tried variations using the AND statement as follows:
IIf(([FIELD1]="VARIABLE1"AND([FIELD2]="*VARIABLE2*",[RETURN1])),[RETURN2])
At a complete loss and any assistance GREATLY appreciated.
Cheers
Mike
remember...every step is a step forward..