Solved

Can you use immediate iif in crystal report command object?

Posted on 2010-08-17
4
638 Views
Last Modified: 2013-11-16
Can you use immediate iif in crystal report command object?
Select total
iif(a>0,a/100,b) as Total
from tableA
0
Comment
Question by:kktd58
  • 2
4 Comments
 
LVL 100

Expert Comment

by:mlmcc
ID: 33457752
I don't know.  Does your database support it in the SQL?

Have you tried it?

mlmcc
0
 
LVL 77

Expert Comment

by:peter57r
ID: 33457754
if your database's brand of sql supports iif() then you should be able to; if it doesn't, you can't.
0
 

Author Comment

by:kktd58
ID: 33458339
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
0
 
LVL 100

Accepted Solution

by:
mlmcc earned 500 total points
ID: 33458827
I suspect the ODBC driver doesn;t support it.

mlmcc
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
Read about achieving the basic levels of HRIS security in the workplace.
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now