Solved

Can you use immediate iif in crystal report command object?

Posted on 2010-08-17
4
635 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

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

This article describes some very basic things about SQL Server filegroups.
Using SQL Scripts we can save all the SQL queries as files that we use very frequently on our database later point of time. This is one of the feature present under SQL Workshop in Oracle Application Express.
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…

746 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

11 Experts available now in Live!

Get 1:1 Help Now