Jump to content

Howto force title and detail on the same page?


Linuxhippy

Recommended Posts

Hello,

 

I have a subreport which only consists of a title and detail.

Sometimes it happens that on one page there is only room left for the title and the detail-field is printed on page2. Is there any way to force the title on the page where the first detail-field is printed?

 

it looks like

 

-------------- (1. Page)

Another_Detail

Another_Detail2

 

Title:

------------- (2. Page)

Detail1

Detail2

Detail3

 

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

 

Sorry for bothering you in the forum and thanks a lot in advance for helping.

Thanks for jasperreports and iReport, they are both unbelievable great :)

 

lg Cöe,ems

Link to comment
Share on other sites

  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Hi Cöe,ems,

 

if the title and the first details does not fit the page how can they stay on the same page? You have to loose something.

 

Is the title you are talking about the title band?

if not, you can create a fake group (a group for each record) and force the group to go on a new page in there is not enough room (you can set "the min height to start on a new page" value for that).

 

Regards,

 

Giulio

Link to comment
Share on other sites

> if the title and the first details does not fit the page how can they stay on the

> same page? You have to loose something.

 

To give a more specific example: the title and the first detail could easily fit on page2, however my problem is that the title is on page1, but the first detail on page2. This looks stupid as the title in my case is the heading for the details.

 

 

> Is the title you are talking about the title band?

Yes it is, because I need one heading (in the title band) per subreport.

 

Thanks for taking the time helping me, lg Clemens

Link to comment
Share on other sites

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