Group Total in Group Header [message #161594] |
Tue, 16 May 2006 15:27  |
Eclipse User |
|
|
|
Is there a way to calculate a total in a group from a particular field and
display that total in the group header?
Normally, I would just create a javascript variable, add the field to the
variable on every row, and then reset it at the end of the group, but this
isn't going to work if I want the total in the group header...
Hopefully that makes sense,
floor
|
|
|
Re: Group Total in Group Header [message #161602 is a reply to message #161594] |
Tue, 16 May 2006 15:41  |
Eclipse User |
|
|
|
Nevermind, sorry about the stupid post. found it: To calculate a total for
a particular field in a group use
Total.sum(row["aRow"], null, 1);
Replace null with a filter if you want, and 1 with the group level for your
particular total.
--floor
"floor" <floorflux@hotmail.com> wrote in message
news:e4d98a$dnl$1@utils.eclipse.org...
> Is there a way to calculate a total in a group from a particular field and
> display that total in the group header?
>
> Normally, I would just create a javascript variable, add the field to the
> variable on every row, and then reset it at the end of the group, but this
> isn't going to work if I want the total in the group header...
>
> Hopefully that makes sense,
>
> floor
>
|
|
|
Powered by
FUDForum. Page generated in 0.49507 seconds