Report not printing Bands in 2020.1
-
- Posts: 45
- Joined: Tue May 21, 2019 1:44 pm
Report not printing Bands in 2020.1
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.
-
- Posts: 45
- Joined: Tue May 21, 2019 1:44 pm
Re: Report not printing Bands in 2020.1.1.0
Sorry, forgot to point out this is only in the HTML5 Web designer - it works fine the Web Report viewer
-
- Posts: 6265
- Joined: Tue Mar 20, 2018 5:34 am
Re: Report not printing Bands in 2020.1
Hello,
Please send us a sample report with test data that reproduces the issue for analysis.
Thank you.
Please send us a sample report with test data that reproduces the issue for analysis.
Thank you.
-
- Posts: 45
- Joined: Tue May 21, 2019 1:44 pm
Re: Report not printing Bands in 2020.1
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.
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.
- Attachments
-
- CustomerDetails.mrt
- (57.8 KiB) Downloaded 144 times
-
- Print Preview.jpg (63.75 KiB) Viewed 2335 times
-
- Designer Preview.jpg (19.92 KiB) Viewed 2335 times
-
- Posts: 45
- Joined: Tue May 21, 2019 1:44 pm
Re: Report not printing Bands in 2020.1
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
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
- Attachments
-
- PrtScr capture.jpg (158.01 KiB) Viewed 2332 times
-
- Posts: 6265
- Joined: Tue Mar 20, 2018 5:34 am
Re: Report not printing Bands in 2020.1
Hello,
Please send us a sample project which reproduces the issue for analysis.
Thank you.
Please send us a sample project which reproduces the issue for analysis.
Thank you.
-
- Posts: 45
- Joined: Tue May 21, 2019 1:44 pm
Re: Report not printing Bands in 2020.1
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
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
-
- Posts: 6265
- Joined: Tue Mar 20, 2018 5:34 am
Re: Report not printing Bands in 2020.1
Hello,
We need some additional time to investigate the issue, we will let you know about the result.
Thank you.
#1587
We need some additional time to investigate the issue, we will let you know about the result.
Thank you.
#1587