Page 1 of 1
Report not printing Bands in 2020.1
Posted: Wed Jan 22, 2020 1:36 pm
by ChrisHolland
I have just upgraded to 2020.1 and now some of my reports do not print the data bands unless I tick the "Print If Empty" option even though there are fields in there that have data against them so they should print.
Re: Report not printing Bands in 2020.1.1.0
Posted: Wed Jan 22, 2020 1:49 pm
by ChrisHolland
Sorry, forgot to point out this is only in the HTML5 Web designer - it works fine the Web Report viewer
Re: Report not printing Bands in 2020.1
Posted: Sat Jan 25, 2020 11:46 am
by Lech Kulikowski
Hello,
Please send us a sample report with test data that reproduces the issue for analysis.
Thank you.
Re: Report not printing Bands in 2020.1
Posted: Mon Jan 27, 2020 11:21 am
by ChrisHolland
I have attached the report CustomerDetails.mrt and also a screen shot of the report shown using
Image "Print Preview.jpg" shows what the report looks like using stiWebViewer
Image "Designer Preview.jpg" shows what the same report (with the same data loaded) looks like using stiWebDesigner and clicking the Preview tab
I cannot attach sample data for the report as it is held on a remote MS SQl server and is loaded into a business object before being passed into the reports.
This all worked fine with the previous version of the reporting software.
Re: Report not printing Bands in 2020.1
Posted: Mon Jan 27, 2020 1:37 pm
by ChrisHolland
Okay, I think I have have misled into thinking this was caused by the version upgrade.
I think it is caused by a refresh of the business objects data.
My report was created with some business objects that were added and saved to the existing report. The class for the business objects has changed slightly and were not refreshing in the report when it was loaded.
I think I have got around this now by forcing an update when the Report Designer loads a report, however I have now noticed a new problem.
If my business object contains a Collection<...> (In this case NoteList) that holds a list of data and that list is empty the report designer adds an extra level of data into the business object (see attached image)
If data is present in the NoteList:
SelectedCustomer
--- NoteList
-- ID
-- Title
If NoteList is empty:
SelectedCustomer
--- NoteList
--- Item <-- this is not part of my class !
-- ID
-- Title
Re: Report not printing Bands in 2020.1
Posted: Sun Feb 02, 2020 7:08 pm
by Lech Kulikowski
Hello,
Please send us a sample project which reproduces the issue for analysis.
Thank you.
Re: Report not printing Bands in 2020.1
Posted: Mon Feb 03, 2020 9:07 am
by ChrisHolland
Hi,
You can download a sample application showing this here:
http://cypher1.co.uk/download/test.zip
The Customer -> AddressList is populated and looks fine.
The Customer -> Notelist is empty and contains the extra ITEM line.
Chris
Re: Report not printing Bands in 2020.1
Posted: Wed Feb 05, 2020 8:28 pm
by Lech Kulikowski
Hello,
We need some additional time to investigate the issue, we will let you know about the result.
Thank you.
#1587