Page 1 of 1

Report not Rendering When Sub-Databand is Empty

Posted: Tue Jul 11, 2023 11:05 am
by pf@systemberatung.it
Hey Guys,
After we've Upgraded to Stimulsoft Version 23.2.8 and encounterd a Problem with our Invoice-Report.

Here We use a Sub-Databand wich Displays Addition Positions...
Now When there are no extra Positions in the Current Order, the whole Report wont Render.

if've got an Example Report where i put in 2 Pages ... one which Renders Empty.. the Second, with the Used Databand.

I hope i was able to explain my Problem here and thanks for your time in Advance!

Re: Reort not Rendering When Sub-Databand is Empty

Posted: Tue Jul 11, 2023 12:33 pm
by Max Shamanov
Hello,

We need some additional time to investigate the issue, we will let you know about the result.

Thank you.

Re: Reort not Rendering When Sub-Databand is Empty

Posted: Tue Jul 11, 2023 1:30 pm
by Max Shamanov
Hello,

Please set the prorperty Multiple Initialization for DatabandZusatz.
Please check the attached report.

Thank you.

Re: Report not Rendering When Sub-Databand is Empty

Posted: Wed Jul 12, 2023 8:39 am
by pf@systemberatung.it
Thank you for your super Fast response!

i tryed your sollution, but have to say in our real Report the problem still persists.

The Diffrence is, that we use a Dataset as Source

Re: Report not Rendering When Sub-Databand is Empty

Posted: Wed Jul 12, 2023 9:59 am
by pf@systemberatung.it
ok i found the additional Problem ..
- first i Enabled the "prorperty Multiple Initialization"
- and second i had to remove the Master Component ..

now the Report is Rendering

maybe your abel to explain why this occourd within our reports ?

and do you have a proper way to distribute a solution?
we've got about 800 Customers with multiple reports .. it's not possible to change each report by hand :-(

Re: Report not Rendering When Sub-Databand is Empty

Posted: Fri Jul 14, 2023 3:01 pm
by Max Shamanov
Hello,

Unfortunately, we didn't have a common solution to solve this issue.

Your report that you sent to us does not work in this form in any version of our product and should not work. because Detail-Databand does not have Relation set, so the filter is not updated and nothing is displayed. if you set "Multiple Initialization", it will start working.

In your real report you may have a different situation. what you write "and second i had to remove the Master Component" - this may be the effect of a recent modification. previously only DetailBands lying near the master were taken into account for the Master-Detail connection to determine whether or not to print the Master-Detail. after the modification Details that lie in the container on the Master-Detail started to be taken into account as well. if you want to disable this modification - set StiOptions.Engine.PrintIfDetailEmptyForDetails=false;

If none of this helps in your real report - send your real report for analysis.

Thank you.