Page 1 of 1

Questions about Groups

Posted: Wed Dec 15, 2021 1:29 pm
by vorauler
Hi

I have some questions about how to design a report. Take a look at the picture.
1. How can I show the PageHeaderBand also on page 2
2. How can I keep the inner group together on one page
3. Why is the PageFooterBand not printed on the bottom of each page

In the attachment is a complete sample. It's a short sample, usually the report consists of even more pages with different information.

TIA
Ralf

Re: Questions about Groups

Posted: Thu Dec 16, 2021 7:58 am
by Max Shamanov
Hello,

Sorry, it doesn't work with the sub-report component. Sub-report is a big container with its own height and it doesn't know about the height of other pages.

Thank you.

Re: Questions about Groups

Posted: Thu Dec 16, 2021 9:30 am
by vorauler
Hi,

Thank you for your answer.

Is there another way to implement this requirement?
In our real report, the first page is in portrait format, pages 2 and 3 in landscape format and then the remaining 2 pages are in portrait format again.

Re: Questions about Groups

Posted: Thu Dec 16, 2021 9:54 am
by Max Shamanov
Hello,

Sorry, maybe we did not exactly understand your question. Could you explain your issue in more detail?

Thank you.

Re: Questions about Groups

Posted: Thu Dec 16, 2021 10:15 am
by vorauler
This is a complete example of the report (see attachment). My aim is to display pages 2 and 3 correctly as in my original post.

Re: Questions about Groups

Posted: Thu Dec 16, 2021 10:37 am
by Max Shamanov
Hello,

Please, see the attached report.

Thank you.

Re: Questions about Groups

Posted: Thu Dec 16, 2021 2:06 pm
by vorauler
Your example is solved without a SubReport. I have also tried this approach. The problem is that this part is integrated as a subreport in a report.

Do I understand correctly that I cannot solve the problem with your component in this way? In particular with keeping the group together.

Re: Questions about Groups

Posted: Thu Dec 16, 2021 3:22 pm
by Max Shamanov
Hello,

We need time to find out what else can be done, we will let you know about the result.

Thank you.

Re: Questions about Groups

Posted: Fri Dec 17, 2021 7:40 am
by ulli82
Hello,

maybe you could work with external subreports and set
-the height of external subreport before rendering (maybe via parameter?)
-set StiOptions.Engine.RenderExternalSubReportsWithHelpOfUnlimitedHeightPages = false;

This is our approach.

Regards

Re: Questions about Groups

Posted: Sat Dec 18, 2021 9:42 am
by Lech Kulikowski
Hello,

Thank you for your suggestion.