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

Restricting No of rows in a page


dnvsrikanth

Recommended Posts

  • Replies 9
  • Created
  • Last Reply

Top Posters In This Topic

Hi migr

 

If you are using iReport tool it will be easy to do this.

 

Go to Edit Menu and select "Insert Page/Column Break" option. Then the cursor changes to cross-heir in which you can insert page-break

 

In the printWhenExpression expression give the following expression:

 

Code:
new Boolean($V{REPORT_COUNT}.intValue() == 15)
Link to comment
Share on other sites

Hi

I have applied this inserted page breaks.

 

But I encountered one problem in which the last record in some pages is being rendered with excess heigt. I mean to say when the page has excess space to render the rows, the last row is getting adjusted so that its height is getting increased which is awkward.

 

Can anyone suggest me the way to resolve this issue...

 

DNV Srikanth

Link to comment
Share on other sites

dnvsrikanth
Wrote:

Hi migr

 

If you are using iReport tool it will be easy to do this.

 

Go to Edit Menu and select "Insert Page/Column Break" option. Then the cursor changes to cross-heir in which you can insert page-break

 

In the printWhenExpression expression give the following expression:

 

Code:

Hi Shouldn't it be better

new Boolean($V{PAGE_COUNT}.intValue()==15)

 

instead of REPORT_COUNT (what is just once 15)

 

hth

C-Box

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