Jump to content
We've recently updated our Privacy Statement, available here ×

h.steinbach

Recommended Posts

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?

Link to comment
Share on other sites

  • Replies 5
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

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

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...