Cross Tab - DataBand

Stimulsoft Reports.NET discussion
Leandro Borges
Posts: 219
Joined: Tue Oct 27, 2015 4:19 pm

Cross Tab - DataBand

Post by Leandro Borges »

Hello.
When I put the crosstab in a DataBand is not printed PageHeaderBand on the next page. See attached example, page 5:
Thank you.
Attachments
CrossTabOnDataBand - Cópia.mrt
(33.09 KiB) Downloaded 399 times
Cross-Tab on DataBand.pdf
(2.34 MiB) Downloaded 563 times
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Cross Tab - DataBand

Post by HighAley »

Hello, Leandro.

This is not a page, but a segment of the page.
It is created when a Cross-tab is larger than the page.
You could use a solution from the attached report template.

Thank you
Attachments
UnlimitedWidthWithPageHeadersAndFooters.mrt
(26.41 KiB) Downloaded 527 times
Leandro Borges
Posts: 219
Joined: Tue Oct 27, 2015 4:19 pm

Re: Cross Tab - DataBand

Post by Leandro Borges »

Hello.
I did not understand. The example does not have the crosstab component.
Thank you.
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Cross Tab - DataBand

Post by HighAley »

Hello, Leandro.

In this example the same page segments are created.
You could find out how to shoe the Headers and Footers on the segments there.

Thank you.
Leandro Borges
Posts: 219
Joined: Tue Oct 27, 2015 4:19 pm

Re: Cross Tab - DataBand

Post by Leandro Borges »

Hello.

PagesCount It is a variable. What would it be RenderedPages[0].SegmentPerWidth and IsFirstPass?
I can use a DataBand instead of using ReportTitleBand?

Thank you.
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Cross Tab - DataBand

Post by HighAley »

Hello, Leandro.

The RenderedPages[0].SegmentPerWidth is a number of segments of the rendered page.
You should get it to know how many segments is on the page.

The IsFirstPass is a system variable that shows that it is the first pass.
It possible to change the Number of Pass property of the report to Double pass. In this case the report will be rendered two times.
You could get some information on the first pass and make chenge on the second (IsSecondPass).

Thank you.
Leandro Borges
Posts: 219
Joined: Tue Oct 27, 2015 4:19 pm

Re: Cross Tab - DataBand

Post by Leandro Borges »

Hello.

Got it. Because I have to switch to double-pass?
I can use a DataBand instead of using ReportTitleBand?

Thank you.
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Cross Tab - DataBand

Post by HighAley »

Hello.

Yes, you should switch to the Double Pass.
Yes, you could use the Data Band.

Thank you.
Leandro Borges
Posts: 219
Joined: Tue Oct 27, 2015 4:19 pm

Re: Cross Tab - DataBand

Post by Leandro Borges »

Hello.

But if I switch to Double Pass the report will run twice and will get very slow.
Please could send me an example using Data Band because it did not work.

Thank you.
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: Cross Tab - DataBand

Post by Alex K. »

Hello,

In any cases, for this task, you should use Double Pass.

Thank you.
Post Reply