Jump to content

Recommended Posts

Posted

Hi there,

I'm using JasperStudio and I have a report with two subreports, lets call them subreport_1 and subreport_2.

What I need is to remove the blank pages in subreport_1 (For example subreport1 has 1 page filled and 2 blanks) and then get the pages from subreport_2 so that I won't have blank pages in the middle of my report. 

If I run the subreport_1 solo I only get 1 page (blanks are ignored using the When No Data Type - No Pages option). If I run the report complete I get some blank pages on the middle (subreport_1 pages).

Thanks for the help,

Siul1981

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Posted

1) Remove any empty spaces in your sub reports

2) Remove top and bottom margins in your sub reports as well in main report - this is a test case. 

Posted

Thanks for the answer.

Tried that already and didn't work.

If I run the subreposrts solo in subreport_1 I have 1 page as result (2 pages are blank and with the option When No Data Type - No Pages activated they aren's shown)  and in subreport_2 I have 12 pages as result.

When I run the report (with the subreports) I was expecting to have 13 pages as result, instead I have 15 pages (2 from subreport_1 blank)

Any more ideas?

Thanks for the help,

Siul1981 

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