Order of Data Bands mixed up

Stimulsoft Reports.NET discussion
Post Reply
markbosshard
Posts: 16
Joined: Thu Mar 12, 2015 3:28 pm

Order of Data Bands mixed up

Post by markbosshard »

Hi

I have the following order in my designer:
Unbenannt2.png
Unbenannt2.png (56.55 KiB) Viewed 1656 times
However in my output it is always being completely mixed up.. Remark that the item starting with "AL.." should be the Data band under "Arbeitsliste". It is even duplicating the header "Arbeitsliste" multiple times. Many items appearing under it are taken from one chapter above, they "jump" over the header band.
Unbenannt.png
Unbenannt.png (52.23 KiB) Viewed 1656 times
How can I stop this behaviour? any way to associate data bands to headers?

thanks for any help &
regards

Mark :)

PS: .mrt file attached as well.
Attachments
KON0020.mrt
(291.85 KiB) Downloaded 231 times
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Order of Data Bands mixed up

Post by HighAley »

Hello, Mark.

The Footer Band is connected to first data band above. So there is a FooterBand2 for DataBand11. If you need to show it after all details for DataBand18. You should out the FooterBand2 exactly after the DataBand18.

Thank you.
markbosshard
Posts: 16
Joined: Thu Mar 12, 2015 3:28 pm

Re: Order of Data Bands mixed up

Post by markbosshard »

Hi Aleksey

Thanks a lot, I understood the logic behind it and could structure my report nicely with your help!
(Just a side-remark for being understood easier: Note that you cannot make an english sentence only containing "IF", there must follow a "THEN" or a partial phrase).

So my version of the rule is:
A Footerband right after a databandX appears only after all printed references of a databandX (even if it contains nothing to print) are finished. A Headerband appears just above the first use of a DatabandX (even if DatabandX is not being printed, it will appear before its first printed reference).

Issue solved, thanks Aleksey!

regards from Switzerland :)
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Order of Data Bands mixed up

Post by HighAley »

Hello, Mark.

We are always glad to help.

Thank you.
Post Reply