2 databand in a group?

Stimulsoft Reports.NET discussion
Post Reply
steven
Posts: 4
Joined: Tue Nov 03, 2009 10:49 pm

2 databand in a group?

Post by steven »

Is it possible having 2 data-band in 1 group?
Now if I put 2 data-band in a group the group footer will be missing.

Code: Select all

GroupHeader1
     GroupHeader2
          Data1
          Data2
     GroupFooter2
GroupFooter1
Thanks.
Edward
Posts: 2913
Joined: Fri Jun 09, 2006 4:02 am

2 databand in a group?

Post by Edward »

Hi Steven,

That is possible only if between databands is a master-detail relationship.

The following order of bands in that case are possible:

Code: Select all

GroupHeader1
     GroupHeader2
          Data1(master)
     GroupFooter2
GroupFooter1          
Data2(detail)

Code: Select all

Data1(master)
GroupHeader1
     GroupHeader2
          Data2(detail)
     GroupFooter2
GroupFooter1   


Thank you.
steven
Posts: 4
Joined: Tue Nov 03, 2009 10:49 pm

2 databand in a group?

Post by steven »

Currently i need a report look as below:

Image


I already finish until "row 14".
How can I make the footer?
How can I make a report like that?
Jan
Posts: 1265
Joined: Thu Feb 19, 2009 8:19 am

2 databand in a group?

Post by Jan »

Hello Steven,

Please check sample report in attachment.

Thank you.
Attachments
259.SimpleGroup.mrt
(28.36 KiB) Downloaded 121 times
steven
Posts: 4
Joined: Tue Nov 03, 2009 10:49 pm

2 databand in a group?

Post by steven »

OK, once the data2 is there then the group footer1 won't be print.
When data2 is deleted then the group footer1 come out again.
What will occur this?

One more, is it possible make the Group Footer count like the picture above?
The Group Footer count each databand2 item and total each differently automatic.


Thanks,
Regards.
Edward
Posts: 2913
Joined: Fri Jun 09, 2006 4:02 am

2 databand in a group?

Post by Edward »

Hi Steven,

Please see the report in the attachment. It works directly as you requested.

Please note that GroupHeader2 has no sorting and the databand with zero height has sorting.

Thank you.
Attachments
264.SimpleGroup.mrt
(31.31 KiB) Downloaded 122 times
steven
Posts: 4
Joined: Tue Nov 03, 2009 10:49 pm

2 databand in a group?

Post by steven »

Never mind I found another way to do it already.
Thank you.
Edward
Posts: 2913
Joined: Fri Jun 09, 2006 4:02 am

2 databand in a group?

Post by Edward »

Hi Steven,

Please let us know if you need any help.

Thank you.
Post Reply