Solved

Can you use immediate iif in crystal report command object?

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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

Creating and Managing Databases with phpMyAdmin in cPanel.
Never store passwords in plain text or just their hash: it seems a no-brainier, but there are still plenty of people doing that. I present the why and how on this subject, offering my own real life solution that you can implement right away, bringin…
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…

813 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

16 Experts available now in Live!

Get 1:1 Help Now