Group footers & headers

Stimulsoft Reports.NET discussion
Post Reply
robert
Posts: 6
Joined: Thu Mar 08, 2007 7:19 am
Location: France

Group footers & headers

Post by robert »

I have a report in which I want to create two groupings so I add two group headers and two group headers. When I user the designer this seems to work well. However now I'm trying to dynamically generate the report (dynamically build up the controls) from information in a database and the footer properties do not seem to render correctly. Both headers footers seem to be associated with the inner group even though I’m careful to set the GroupHeader property. This means the out group header and footer are printed every time the inner group changes and not just every time the outter group changes.

I should get a grouping like:
-Group header outer
-Group header inner
-Detail
-Detail
-Group footer inner
-Group header inner
-Detail
-Detail
-Group footer inner
-Group header inner
-Detail
-Detail
-Group footer inner
-Group footer outer

But instead I get (note all the extra "Group header outer" "Group footer outer"):
-Group header outer
-Group header inner
-Detail
-Detail
-Group footer inner
-Group footer outer
-Group header outer
-Group header inner
-Detail
-Detail
-Group footer inner
-Group footer outer
-Group header outer
-Group header inner
-Detail
-Detail
-Group footer inner
-Group footer outer

What could be causing this?
robert
Posts: 6
Joined: Thu Mar 08, 2007 7:19 am
Location: France

Group footers & headers

Post by robert »

In fact this problem was due to my (mis)use of anonymous delegates. I've fixed problem now and every thing seems to be working as expected.
Vital
Posts: 1278
Joined: Fri Jun 09, 2006 4:04 am

Group footers & headers

Post by Vital »

If you have any questions, please contact us.

Thank you.
Post Reply