Jasper Reports

JAVA: Compare Boolean Vale

Posted on

I require this to limit the Print when Expression Field on Jasper Studio. I had some trouble getting the comparison formule, because I used the typical: $F{rfq_c} == "VALUE" This formula did not work because it only applies when comparing strings. After a lot of trial and error the correct formula would be: new Boolean($F{rfq_c}.booleanValue() […]