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

Dont show a separator line of the detail band.


valkyrone

Recommended Posts

 Hi,

actually I am working with iReport and I have generated a template. The template show data in the detail band from XMLDataSource. The fields are separate by a line located at bottom of the deatil band.

My problem is that I dont want that the last record include the separator line, but I don't know how do it.

Some idea?

Thanks. 

Link to comment
Share on other sites

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

 Couple ways you may be able to solve for this one,

The seperator line options support print when group changes option may help if you are using groups.

Or simply use the "Print When Expression" and set it to true when you are not on the last line and false when you are on the last line.

Something like this in the expression,

new Boolean($V{COLUMN_COUNT}.intValue() != $V{REPORT_COUNT}.intValue())

You should be able to do something like this, you may need to use custom variables for the record counting depending on how your report is designed. But this is the right direction to go I believe.

 

Link to comment
Share on other sites

 Thank you so much, cmathews. I've tried it, but it doesn't work. 

In the Attachment you can see the elements in the Detail1 band.

Do you have any idea about how to count the lines in the detail1 band?

Excuse me for my english.

Thanks!.

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