Jump to content
JasperReports Library 7.0 is now available ×

Group Footer Problem


Recommended Posts

By: Amy - adleamons

Group Footer Problem

2003-05-23 13:27

How can I keep the group footer with the last detail line and not on a page by itself?

 

 

 

 

By: Teodor Danciu - teodord

RE: Group Footer Problem

2003-05-24 05:42

 

Hi,

 

You have to know beforehand how many records

are in the group.

If not, it is impossible to achieve that.

 

The number of records in the group can be obtained

as a field in the data source, probably using

agregate functions in the SQL query or more

complex queries anyway.

 

Then, if the number of records of the currect group

is available as a report field, tricks could be made

in order to introduce a pagebreak, probably using

a dummy group with an expression based on the

number of records that you want to move to the

next page to go with the group footer.

 

I did it once and it worked.

 

I hope this helps.

Teodor

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