valkyrone Posted July 12, 2012 Share Posted July 12, 2012 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 More sharing options...
cmatthews Posted July 12, 2012 Share Posted July 12, 2012 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 More sharing options...
valkyrone Posted July 16, 2012 Author Share Posted July 16, 2012 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now