Page 2 of 2
Re: Problems with Subreports
Posted: Mon Jul 11, 2016 11:19 am
by HighAley
Hello.
We have made an improvement.
Please, check our next prerelease build that will be available on Friday.
Thank you.
Re: Problems with Subreports
Posted: Tue Jul 12, 2016 3:13 pm
by MatthiasU
Hello,
yesterday, you have released v2016.1.20 and I found the following change in the Release Notes:
Engine V2. The SubReport sizeis now correctly calculated if it is located directly on the page.
Sounds like a change for my problem

But the issue still appears
Regards,
Matthias
Re: Problems with Subreports
Posted: Tue Jul 12, 2016 10:15 pm
by Ivan
Hello,
We checked and found out that for technical reasons, the change was not included in the build.
Tomorrow we remake the build.
Please download it again tomorrow.
Thank you.
Re: Problems with Subreports
Posted: Tue Jul 19, 2016 7:29 am
by MatthiasU
Hello,
I have tested the problem with Rel. 2016.1.21 and it works very well

Thank you very much!
Maybe, you can help me on a similar problem? Now, I have to add the subreports on a databand with setting NewPageBefor=TRUE. But in this case, all subreport pages are printed in direct succession. I would expect a new page for each subreport page and a new page for each databand record
Is there a way to achieve this behaviour?
Please see attachement for example.
Many thanks & Regards,
Matthias
Re: Problems with Subreports
Posted: Wed Jul 20, 2016 5:13 pm
by Alex K.
Hello,
In this case, you can set the following option:
Code: Select all
Stimulsoft.Report.StiOptions.Engine.RenderExternalSubReportsWithHelpOfUnlimitedHeightPages = true;
And the following code in the SubReport for the paging emulatation:
Code: Select all
if (Line > 1 && (Line - 1) % 10 == 0) Engine.NewPage();
Thank you.
Re: Problems with Subreports
Posted: Thu Jul 21, 2016 7:03 am
by MatthiasU
Hello,
thanks for your respond.
I have to implement the paging in each subreport by myself? That's not very funny...
The attached sample was just a simplified sample to reproduce the issue. In real cases, our subreports are lot more complex and it would be really difficult to implement the paging. The great paging was a main reason for us, to choose your reporting tool!
I would be very grateful, if you can fix this issue.
Many thanks & Regards,
Matthias
Re: Problems with Subreports
Posted: Thu Jul 21, 2016 7:45 am
by Alex K.
Hello,
The sub-report is rendered on a page with unlimited height because it's impossible to know the end size of the sub-report component.
In this case, you need to implement the paging with additional code or implement your task on the main page without the SubReport.
Thank you.