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

Using Group to insert space between rows


Recommended Posts

By: David Nock - nockdg

Using Group to insert space between rows

2006-03-23 16:06

 

I'm using the group trick to insert a space between rows of my report. This works great except I don't want it to be included if it is at the bottom of the page.

 

i.e. I have report that is 3 cols x 10 rows so I can use $V{BreakGroup_COUNT}.intValue() > 3 to insert a space after each row. But, I don't want to include a group if I am on row 10 (otherwise it spills onto a second page - and prints a blank page).

 

Is there a LabelCount type variable so you could do something like:

(($V{LabelCount}.intValue() % 3) == 0 ) && (($V{LabelCount}.intValue() % 30) != 0 )

 

BTW still using jasper 0.6.6.

 

 

 

By: David Nock - nockdg

RE: Using Group to insert space between rows

2006-03-23 19:31

 

Doh, never mind found it. REPORT_COUNT.

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