views:

365

answers:

2

Hi

I'm using a table on my report to present the data. Since it was a lot of data and I wanted to print the report on a A4 page, I split each row into 3 different rows.

My problem is when the report goes to the second page, I want it to break before or after the 3 rows.

example:


name age
address
contact


name age
address
contact


name age
address
* page break *
contact


this is what normally happens. I want to ensure that the page break only happens on the lines.

A: 

Have you tried the KeepTogether property on your table?

Mozy
A: 

There are multiple strategies to follow:

  • The KeepTogether is useful in this case
  • If you want it to fit on one page only try adjusting page margins, padding, font size, line height to make the report render more compactly
  • Another alternative is to create a table group on the person, and from the group properties (edit group) check the page break at end property. this way you can have each group on a separate page

Hope this helps

Zaid Zawaideh