tdiffenbach Posted November 1, 2007 Share Posted November 1, 2007 For a report, I have a detail band showing fields, and a group footer that shows the sum of each field for the group, and a summary band that shows sums for each field for the entire report. This works well for reports were the report user wants to make sure that totals "tail out". This is appropriate to accountants, etc. For users who are planners, executives, etc., it sometimes makes more sense to show totals first, then "drill down" into the details. To my surprise, placing the group sums in the group header results in null for all sums, as the detail band has not yet run, so the group has not changed, and the group sum variables are not updated. This temporal dependency seems an oversight, and failure (in MVC terms) to separate Model from View/Rendering. Link to comment Share on other sites More sharing options...
lucianc Posted November 1, 2007 Share Posted November 1, 2007 tdiffenbach wrote:To my surprise, placing the group sums in the group header results in null for all sums, as the detail band has not yet run, so the group has not changed, and the group sum variables are not updated. You need to set evaluationTime="Group" and evaluationGroup="..your group's name.." for the text fields. 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