cancel
Showing results for 
Search instead for 
Did you mean: 

report.ReportClientDocument.ReportDefController.ReportObjectController.Add function

Former Member
0 Kudos

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.

Accepted Solutions (0)

Answers (0)