Skip to Content

report.ReportClientDocument.ReportDefController.ReportObjectController.Add function

Sep 26, 2017 at 07:06 AM


avatar image
Former Member

Hi mate

I add a FieldHeading report object to a report with code just like this:



the 'fieldHeading' is an heading of an section, it's kind is:



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.

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

0 Answers