Questions about Groups

Stimulsoft Reports.NET discussion
Post Reply
vorauler
Posts: 71
Joined: Wed Jul 15, 2009 1:20 am

Questions about Groups

Post 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
Attachments
groupsample.png
groupsample.png (63.49 KiB) Viewed 817 times
Groups.zip
(4.55 MiB) Downloaded 70 times
Max Shamanov
Posts: 768
Joined: Tue Sep 07, 2021 10:11 am

Re: Questions about Groups

Post 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.
vorauler
Posts: 71
Joined: Wed Jul 15, 2009 1:20 am

Re: Questions about Groups

Post 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.
Max Shamanov
Posts: 768
Joined: Tue Sep 07, 2021 10:11 am

Re: Questions about Groups

Post by Max Shamanov »

Hello,

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

Thank you.
vorauler
Posts: 71
Joined: Wed Jul 15, 2009 1:20 am

Re: Questions about Groups

Post 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.
Attachments
complete sample.png
complete sample.png (102.94 KiB) Viewed 781 times
Max Shamanov
Posts: 768
Joined: Tue Sep 07, 2021 10:11 am

Re: Questions about Groups

Post by Max Shamanov »

Hello,

Please, see the attached report.

Thank you.
Attachments
Stammdatenblatt.mrt
(131.32 KiB) Downloaded 78 times
Groups_fBixMtxFwK.png
Groups_fBixMtxFwK.png (74.54 KiB) Viewed 779 times
vorauler
Posts: 71
Joined: Wed Jul 15, 2009 1:20 am

Re: Questions about Groups

Post 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.
Max Shamanov
Posts: 768
Joined: Tue Sep 07, 2021 10:11 am

Re: Questions about Groups

Post 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.
ulli82
Posts: 47
Joined: Tue Jul 06, 2021 6:46 am

Re: Questions about Groups

Post 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
Lech Kulikowski
Posts: 6197
Joined: Tue Mar 20, 2018 5:34 am

Re: Questions about Groups

Post by Lech Kulikowski »

Hello,

Thank you for your suggestion.
Post Reply