Page 1 of 1
Data from two Data Bands gets mixed
Posted: Tue Nov 17, 2020 12:43 pm
by mksch
Hello,
I have 2 data bands in my template. Both data bands are linked to different data sources.

- img1.JPG (157.63 KiB) Viewed 3416 times
Once I generate the template from the application, the data from the second data band gets printed as part of the first data band, but it should only be printed where the second data band is. I have this issue with several templates. Is there a way this can be avoided? The only solution I found so far is adding in a second page on the report, however this is not the ideal solution as the text should be printed all together.

- img2.png (93.1 KiB) Viewed 3416 times
I attached the generated template for reference.
Thank you very much for your help.
Best regards,
Markus
Re: Data from two Data Bands gets mixed
Posted: Wed Nov 18, 2020 8:19 am
by Lech Kulikowski
Hello,
Please send us a sample report with test data that reproduces the issue for analysis.
Thank you.
Re: Data from two Data Bands gets mixed
Posted: Wed Nov 18, 2020 11:11 am
by mksch
Hello,
enclosed is the .mrt file, however i am not able to extract any sample data from the application.
I hope you may be able to suggest a solution without sample data.
Thank you very much.
Best reagards,
Markus
Re: Data from two Data Bands gets mixed
Posted: Thu Nov 19, 2020 9:41 pm
by Lech Kulikowski
Hello,
Please check the modified report, were added top levels of business objects.
If the issue still present, please send us test data for your report.
Thank you.
Re: Data from two Data Bands gets mixed
Posted: Fri Nov 20, 2020 9:46 am
by mksch
Dear Lech,
thank you for providing the modified version. If I understand the modification correctly, you added a DataBand at the top with the topmost data element?
It partly worked. Data in the lower data bands now displays correct, however they get printed on the very top section of the report as one.
The attachment img.png is no longer available
My other workaround I used so far was adding multiple pages to the report, then the data displays correct.

- img.png (58.77 KiB) Viewed 3387 times
I like using multiple pages as to me the templates are easier to work with instead of having lots of data bands on one page which then not always show in the editor.
Since I never know how much data would be within a data band, it happens that only a few lines are printed on one page and then page break to page 2 and so on. Is there the possibility to use multiple pages, but have them print without page breaks as if it was all configured on one page? This would also solve the issue with the data of multiple data bands being mixed.
Thank you very much.
Best regards,
Markus
Re: Data from two Data Bands gets mixed
Posted: Fri Nov 20, 2020 12:58 pm
by Lech Kulikowski
Hello,
Also, please try to set the MasterData for the detail bands.
Thank you.
Re: Data from two Data Bands gets mixed
Posted: Wed Nov 25, 2020 9:03 am
by mksch
Dear Lech,
thank you for the above solutions. It worked after all.
Best regards,
Markus
Re: Data from two Data Bands gets mixed
Posted: Wed Nov 25, 2020 10:46 am
by Lech Kulikowski
Hello Markus,
We are always glad to help you!
Thank you.