Jump to content
JasperReports Library 7.0 is now available ×

Summary prints when no details


2006 IR Open Dicussion

Recommended Posts

By: Sam Stephens - postmoderncore

Summary prints when no details

2006-03-13 17:31

I'm trying to create a fairly basic report... it has

 

--- GroupHeaderBand ---

Group Name

Header 1 Header 2

--- DetailBand --------

Data 1 Data 2

--- GroupFooterBand ---

Total: Amount

 

I'm having pagination problems however. When I have details split over two pages, I need the Headers to show on both pages.

 

*** Page 1 ************

Group Name

Header 1 Header 2

Data 1 Data 2

Data 1 Data 2

*** Page 2 ************

Group Name

Header 1 Header 2

Data 1 Data 2

Total: Amount

 

Which is easily done... however the issue comes in when all of the detail bands fit onto one page, but the summary doesn't. I end up with

 

 

*** Page 1 ************

Group Name

Header 1 Header 2

Data 1 Data 2

Data 1 Data 2

Data 1 Data 2

*** Page 2 ************

Group Name

Header 1 Header 2

Total: Amount

 

Which is really ugly. I would like to be able to hide the Headers in this case, but keep the Group Name.

 

Thanks,

Sam

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Popular Days

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