I am new in iReport and using iReport 5.6.0 I was trying to show a text based on a condition. Suppose, I have two variables name Cr and Dr. And I want
Cr
Dr
It's solved. In Print When Expression I used something like this. The text is only showing when this condition is fulfilling.
$V{Dr_total}.intValue()<= $V{Cr_total}.intValue() ? Boolean.TRUE:Boolean.FALSE