Quote:
Originally posted by r937
select IIF(foo='bar',qux,937) as zorp
becomes
select CASE when foo='bar' then qux else 937 END as zorp
|
Thanks for the help! Unfortunately, we haven't been able to use the case statement in a WHERE clause, only SELECT (as your example depicted).
Currently, MS Access supports IIF in the WHERE clause so we have our reporting software connecting to the AS400 through linked tables in MS Access. We are trying to get away from that.
Let me know if a look at the SQL would help.
Thanks in advance.
Ryan