Link to home
Start Free TrialLog in
Avatar of kktd58
kktd58

asked on

Can you use immediate iif in crystal report command object?

Can you use immediate iif in crystal report command object?
Select total
iif(a>0,a/100,b) as Total
from tableA
Avatar of Mike McCracken
Mike McCracken

I don't know.  Does your database support it in the SQL?

Have you tried it?

mlmcc
if your database's brand of sql supports iif() then you should be able to; if it doesn't, you can't.
Avatar of kktd58

ASKER

i am receiving an  ODBC Informix Driver syntax error (-201)when trying this. I just wasn't sure if there was some different syntax that i should be using. I guess it just does not work. Thanks
ASKER CERTIFIED SOLUTION
Avatar of Mike McCracken
Mike McCracken

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial