Posted 15 October 2019, 6:06 pm EST
I am upgrading my C1Report(s) to C1FlexReport(s). Most everything has an appropriate equivalent. I have found a problem with a subreport. I dynamically set the connection string and recordset of the datasource using code.
rpt.Fields[“rsubRegistrationExtraCharges”].Subreport.DataSource.ConnectionString = connection.ConnectionString;
In C1Report this worked great. The documentation for the C1FlexReport seems to indicate that this will work but I get an error message at design time that says:
FieldBase’ does not contain a definition for ‘Subreport’ and no accessible extension method ‘Subreport’ accepting a first argument of type ‘FieldBase’ could be found
What is the resolution of this change in the object model of the C1FlesReport
George McKee