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

IsSummaryNewPage. URGENT!!!!


Recommended Posts

By: Adrian Rotea - adirotea

IsSummaryNewPage. URGENT!!!!

2003-10-30 02:43

Hello...

 

My report uses the summary band to output some data (about three pages) in certain conditions. And I want to start in a new page.

 

My problem is that when the summary contains no data a new blank page appears at the end of the report...

 

How can i tell jasperreports to output that page only when summary has data?

 

I also tried to use groups to start a new page but in that case my html report has a space between pages (about four lines) even if i set the BETWEEN_PAGES_HTML parameter to blank

exporter.setParameter(JRHtmlExporterParameter.BETWEEN_PAGES_HTML, "");

 

So how can i solve this problem?

 

 

 

 

 

By: Teodor Danciu - teodord

RE: IsSummaryNewPage. URGENT!!!!

2003-10-31 00:20

 

Hi,

 

If you can anticipate that the summary section

will be empty, use the <printWhenExpression> of the

summary band to supress the summary.

The empty last page will not be created.

 

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