Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Crystal reports syntax for Intouch Wonderware

Hi, I recently upgraded a wonderware project which was using the old crystal reports so I had to upgrade the crystal reports to the latest version as well. The syntax is no longer applicable with the new object: Crystal ActiveX Report Viewer Control 14.0

#CrystalReport1.ReportSource = "C:\Reports\crreport.rpt";


The script validates fine but when I run the screen I get the error:

Error processing CrystalReport1.ReportSource on setting string property. Type mismatch on parameter 1 (DISP_E_TYPEMISMATCH)

Any wonderware users here who were able to resolve this issue? Most of the help online is for visual basic code but nothing for wonderware

Former Member

Hi Asma

The ActiveX component was retired in Crystal Reports 11.5 (CI R2). Additionally, CR version 14.0, does not instal any SDK, be it .NET or Java, not that this would help your ActiveX issue.

Your best bet is to contact Wonderware and ask them how to proceed.

- Ludek

Senior Support Engineer AGS Product Support, Global Support Center Canada

Follow us on Twitter

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question