Hi all,
i am new to Jasper and would like to control the table rows with "print when expression"
There is already an expression in this field:
$V{REPORT_COUNT}.intValue() % 2 == 1 ? Boolean.TRUE : Boolean.FALSE
Now i would like to insert another choice. There is a var called "yavisieren". Its a boolean var. How do I insert it in the statement?
$V{REPORT_COUNT}.intValue() % 2 == 1 & $F{yavisieren} ? Boolean.TRUE : Boolean.FALSE (that doesn't work)
Can you help me?
4 Answers:
Posted on November 27, 2012 at 2:48am
Sorry it is a field:
I used && but then i get following error:
FOP: Fehler beim Bearbeiten eines JasperReport-Layouts (/tmp/XJASPERLAY3423723798256680252.TMP) aufgetreten:
Errors were encountered when compiling report expressions class file:
1. The operator && is undefined for the ar
1. The operator && is undefined for the ar...
Give more stack trace. This message inappropriate arguments. In this message give info about current type arguments in operator &&