Jump to content
Changes to the Jaspersoft community edition download ×

To repeat the last row on top of each new page


seduval

Recommended Posts

Hello everybody,

we have to fulfill a special requirement from our customer. At the beginning of each page, we have to repeat the last row from the previous page.

How would you manage to do that ?

Thanks in advance.

Serge

 

Link to comment
Share on other sites

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Hi,

 

I have not tried this, but probably it helps.

 

Use variables. Store the field values of the record in them.

Set the calculation attribute to Nothing in the variables.

variableExpression for v1 = $F{field1}

...

variableExpression for vn = $F{fieldn}

At the top of page show variables in the text fields.

 

Or if it does not work, read the Variables chapter in "The JasperReports Ultimate Guide". You can learn some pretty good tricks from this book. :)

 

Laszlo

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