Sum by group (GroupFooter)
yvesarchambault
Lacolle, Qu?©bec
Hi, I don't see [img]style_emoticons/<#EMO_DIR#>/unsure.gif" style="vertical-align:middle" emoid=":unsure:" border="0" alt="unsure.gif" /> a way to sum on group.
I have a query :[/img]
ReportTitle
GroupBand by hop
GroupBand by period
MasterData associated to the query
GroupFooter1
GroupFooter2
ReportSummary
Everything display ok, it is easy to tell one System Text to sum by period
but a second one to sum by hop, I don't see how.
Is there a way to associate a GroupHeader with a GroupFooter ?
Thanks
Yves
select *
from gest2009.fmr1mab ab
left join cumul.fmr1ma cma on ab.perma = cma.perma
where ab.hop like '%'
and ab.period like '%'
order by ab.hop, ab.period, cma.nom, cma.prenom
In the report I have the following bands:ReportTitle
GroupBand by hop
GroupBand by period
MasterData associated to the query
GroupFooter1
GroupFooter2
ReportSummary
Everything display ok, it is easy to tell one System Text to sum by period
but a second one to sum by hop, I don't see how.
Is there a way to associate a GroupHeader with a GroupFooter ?
Thanks
Yves
Comments
Hi, I tought that the solution was something like this but I don't see how to do that, "Assigned" ?
I have re-read the manual and I don't see how to assigned or bind the footer with the header.
Could you give me some precision about that ?
Thanks for your time.
Yves
Hi.
As far as I know the association between group header and group footer is always set up automaticly by FR depending on the order of the bands, starting from the masterdataband. The nearest group header connects to the nearest group footer. The scond nearest header connects to the second nearest footer, and so on..
So in your report you have connected 'GroupBand by hop' to 'GroupFooter2', and 'GroupBand by period' to 'GroupFooter1' just by ordering the bands.
Petter