2006 IR Open Dicussion Posted August 27, 2006 Share Posted August 27, 2006 By: Carey Gibson - trillian11 printWhen detail row is last record in group 2006-07-05 16:37Hey all, Apologies if I missed a question like this -- searched to no avail. I want to print something in my Detail band only when that detail record is the last record in that group. I've tried creating a 'row count' variable, but it's never different from $V{groupName_count}. Is there any way to get a handle on how many records there are in a group from the detail band? Thanks! Carey By: Lucian Chirita - lucianc RE: printWhen detail row is last record in gr 2006-07-06 05:03It's not possible to use the printWhen expression for this. This expression gets evaluated when the detail band is rendered, and at this time there is no way to know how many records the group is going to contain (the group breaks are determined a posteriori). Hence, there is no way to remove the text field from all but the last record in the group. If you can settle for empty texts, you can find a solution here http://sourceforge.net/forum/message.php?msg_id=3540986 HTH, Lucian Link to comment Share on other sites More sharing options...
frblusso Posted March 30, 2007 Share Posted March 30, 2007 hello Lucian i would like to print a field only on the last line of a record group, but reading your response in this forum,i understand that it is not possible using print when expression.Unfortunatly, i can not read the link (authorization failed) could you please copy the description here. regards Françoise Link to comment Share on other sites More sharing options...
lucianc Posted April 2, 2007 Share Posted April 2, 2007 The link points to this discussion. HTH,Lucian 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