I need to write an IIF statement for following code:
(
If Instr('abcdQ1','Q1')>0 then (select q1 from tableA),
If instr ('abcdQ2','Q2')>0 then (Select q2 from tableA)
Else (select q5 from tableA)
end if
) as Q
Is it possible to wrtie multip IIF statements in Access 2003?
thanks.
(
If Instr('abcdQ1','Q1')>0 then (select q1 from tableA),
If instr ('abcdQ2','Q2')>0 then (Select q2 from tableA)
Else (select q5 from tableA)
end if
) as Q
Is it possible to wrtie multip IIF statements in Access 2003?
thanks.