Report not Rendering When Sub-Databand is Empty

Stimulsoft Reports.NET discussion
Post Reply
pf@systemberatung.it
Posts: 5
Joined: Mon Oct 17, 2022 9:42 am

Report not Rendering When Sub-Databand is Empty

Post 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!
Attachments
dataSetExport.xml
(3.33 MiB) Downloaded 64 times
Brillenauftrag Rechnung einfach.mrt
(102.26 KiB) Downloaded 63 times
Last edited by pf@systemberatung.it on Wed Jul 12, 2023 12:38 pm, edited 2 times in total.
Max Shamanov
Posts: 792
Joined: Tue Sep 07, 2021 10:11 am

Re: Reort not Rendering When Sub-Databand is Empty

Post by Max Shamanov »

Hello,

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

Thank you.
Max Shamanov
Posts: 792
Joined: Tue Sep 07, 2021 10:11 am

Re: Reort not Rendering When Sub-Databand is Empty

Post by Max Shamanov »

Hello,

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

Thank you.
Attachments
BrillenauftragRechnungeinfachChanged.mrt
(409.09 KiB) Downloaded 66 times
pf@systemberatung.it
Posts: 5
Joined: Mon Oct 17, 2022 9:42 am

Re: Report not Rendering When Sub-Databand is Empty

Post 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
pf@systemberatung.it
Posts: 5
Joined: Mon Oct 17, 2022 9:42 am

Re: Report not Rendering When Sub-Databand is Empty

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

Re: Report not Rendering When Sub-Databand is Empty

Post 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.
Post Reply