Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Can you use immediate iif in crystal report command object?

Posted on 2010-08-17
4
Medium Priority
?
647 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 101

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 101

Accepted Solution

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

mlmcc
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

This post looks at MongoDB and MySQL, and covers high-level MongoDB strengths, weaknesses, features, and uses from the perspective of an SQL user.
This article shows how to get a list of available printers for display in a drop-down list, and then to use the selected printer to print an Access report or a Word document filled with Access data, using different syntax as needed for working with …
This is a high-level webinar that covers the history of enterprise open source database use. It addresses both the advantages companies see in using open source database technologies, as well as the fears and reservations they might have. In this…
Despite its rising prevalence in the business world, "the cloud" is still misunderstood. Some companies still believe common misconceptions about lack of security in cloud solutions and many misuses of cloud storage options still occur every day. …
Suggested Courses

610 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