|
|
|
Grasshopper
      
Group: General Forum Members
Last Login: Thursday, June 13, 2013 7:27 AM
Points: 13,
Visits: 19
|
|
Dear All, I wish to know the use of IIF function in Crystal Reports with some example .please anyone help me.Thanks in advance..
Regards, T.AnandhaMurugan
|
|
|
|
|
Grasshopper
      
Group: General Forum Members
Last Login: Wednesday, May 22, 2013 7:52 PM
Points: 14,
Visits: 60
|
|
The IIF statement is the same as an IF statement. The first parameter is the conditional statement. The second parameter is the return value if the condition is met. The third parameter is the value returned if the condition is not met.
The IIF statement has many uses. - To show or hide data based on a condition. - To show a default value if a field is null or empty. - It can be used in a formula to give every other row a background color. - etc.
|
|
|
|
|
Grasshopper
      
Group: General Forum Members
Last Login: Thursday, June 13, 2013 7:27 AM
Points: 13,
Visits: 19
|
|
Hi, so,its like a Ternary operator in Java?
|
|
|
|
|
Ten Centuries
      
Group: General Forum Members
Last Login: Today @ 3:31 AM
Points: 1,088,
Visits: 1,118
|
|
anandhaksc (10/30/2012) Hi, so,its like a Ternary operator in Java?
yes like ternary operator.. .or conditional operator in C (if i remember correctly that's what it called)...
~ demonfox ___________________________________________________________________ Wondering what I would do next , when I am done with this one
|
|
|
|