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

PrintWhenExpression evaluation : bug in page break element ?


etasia

Recommended Posts

Hi,

Here is my problem :

I put a page break at the end of a subreport, but I get an empty page at the end of my report (it's logical).

So I wanted to hide my page break using the Print When Expression, based on a field (call it notLast for "not last element of my list"). I've tried with many differents expressions :

Boolean.valueOf($F{notLast}), "true".equals($F{notLast})?Boolean.TRUE:Boolean.FALSE, ... and so on.

Nothing works in the page break (and even more, my report is never filled ! I wait for minutes, and the task never stops, I have to kill it).

If I use the same expression in another element (text field, static field, frame...), it works. It take it and put it in my page break, it bugs.

Any idea ?

Thanks for your help.

 

 

Link to comment
Share on other sites

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

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...