Jump to content
Changes to the Jaspersoft community edition download ×

Print only before a group change


Recommended Posts

By: Regis Pires Magalhaes - regispires

Print only before a group change

2003-08-13 08:36

I would like to know if it is possible to print a text field only before a group change. For example:

 

date value total

-----------------------------

01/01/2003 10,00

01/01/2003 11,00

01/01/2003 12,00 33,00

02/01/2003 10,00

02/01/2003 15,00 25,00

03/01/2003 8,00

...

 

The group expression is the date. So I would like that the variable total, which is sum(value), is only printed just before the date change.

 

Regards,

 

Regis

 

 

 

 

 

By: Regis Pires Magalhaes - regispires

RE: Print only before a group change

2003-08-13 13:49

Yes!!!

We´ve found a solution!!!

 

1 - Set the TOTAL text element band as group footer band.

2 - Position the TOTAL text element in the detail band by setting a negative value to x coordinate.

 

If you are using iReport, it indicates a invalid position, since a group footer element is out of the group footer band.

This works even if the group footer height is 0.

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

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