Posted 15 January 2020, 6:47 am EST
Hello,
Thanks for this community and @esha.dhir I was able to solve many problems related to the migration from C1 to C1Flex. Unfortunately, I’m facing others problems within the same report.
After importing the following file on C1FlexReportDesigner [C1REPORT_ORIGINAL_00001#15684598#CORT^CORT.XML ]
and adjusting all the previous issues that I had, it seems that I cannot preview.
It returns the following error message:
Error rendering report:
Can not open the report data source [Main].
Exception:
XML in [C:\temp\Report\C1FLEX_CONVERTED_DADOS.XML] does not contain [] table.
To make it easier to check the issue, I also zipped the converted file in at the end of this comment [C1FLEX_CONVERTED_00001#15684598#CORT^CORT.FLXR]
Well… I’m able to preview if I change “5 - DB”, “7 - DB” and “6 - DB” subreports DataSource from “Main” to “None”. However, because it was an automatic conversion, I’m not sure if this is the right thing to do.
Question 1: What’s the correct way to solve the previous error ?
Question 2: I don’t know if it’s the consequence of my previous adjustment, but I get 2 warnings for ‘Evaluated expression ":null reference object’ that I’m unable to locate. If not critical, could you help me find the root for those 2 warnings?
Question 3: When I visualize this report on C1Report the output is a 3 page report [C1Report_Original.PNG]. Each of the following subreport in one page: “2 - exm_T3_T3”, “2 - exm_T4_T4”, “2 - exm_GLI_GLI”. While the converted FlexReport version gives me a 2 page report. The first page has “2 - exm_T3_T3” and the second page squeezes the other two subreports “2 - exm_T4_T4” and “2 - exm_GLI_GLI”.
Is there a configuration on C1Flex to make them equal ? Or at least similar ?
Question 4: The last one, I’m failing to understand the difference between C1Report and C1FlexReport.
Scenario 1) When I have a many subreports and two subreports are rendered TOGETHER in a single page there is a separator between them, in my case it’s a long ____ (This behaviour is expected and OK in both versions).
Scenario 2) When it’s many subreports and they are in DIFFERENT pages, the separator is shown in C1Flex, but it was not in C1Report(previously).
Is this avoidable with any configuration?
Sorry for the amount of questions in a single thread. All questions were originated from the conversion of a single report and I thought it would be better to cluster them.
Not sure if it’s relevant, these reports were generated from code.
C1FlexReport version: 4.0.20193.393
C1FlexReportDesigner.4, Version 4.0.20192.382
C1ReportDesigner, Version 4.6.20132.54638
Thanks
Report.zip