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

How to add line for grouped rows


r.reddy.galla

Recommended Posts

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

You need to arrange the data into groups that break after every 8 records (see some examples of data grouping here).

Then, create a detail band containing the textfield with data. Create a second detail band containing a line element. For this second detail band use a print when expression in the form:

$V{myGroup_COUNT} == 2 || $V{myGroup_COUNT} == 3 || $V{myGroup_COUNT} == 5 || $V{myGroup_COUNT} == 8[/code]

where 'myGroup' is the group name.

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