on 09-26-2017 8:06 AM
Hi mate
I add a FieldHeading report object to a report with code just like this:
report.ReportClientDocument.ReportDefController.ReportObjectController.Add
(fieldHeading,report.ReportClientDocument.ReportDefController.ReportDefinition.FindSectionByName(SectionName))
the 'fieldHeading' is an heading of an section, it's kind is:
CrystalDecisions.ReportAppServer.ReportDefModel.CrReportObjectKindEnum.
crReportObjectKindFieldHeading
and I have checked that the section is not null,and 'FindSectionByName' function can get the section, but there came out an error:Report object not found, I feel strange about this.
In addition, this kind of error only occurs when my computer installed the crystal report runtime version 13.0.18
when I uninstalled the 13.0.18 runtime and installed the 13.0.15 one, the code works well and there is no such error.
I want to know how to fix this issue under 13.0.18 runtime, because customers are all use the 13.0.18 runtime.
Thanks a lot.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.