cancel
Showing results for 
Search instead for 
Did you mean: 

Calling crystal report 2013 file from powerbuilder 12.6

0 Kudos

Hi,

I've been using the following example code to call crystal report 9 files from powerbuilder

  1. oleobject CRXApplication 
  2. oleobject CRXReport 
  3. CRXApplication = Create OLEObject 
  4. if CRXApplication.ConnectToNewObject("CrystalRunTime.Application")=0 then 
  5.      CRXReport = create OLEObject 
  6.      CRXReport.SetAutomationpöointer(CRXApplication.Openreport("d:\temp\test.rpt")) 
  7. end if 

Now I've upgraded crystal to 2013 but can't call the reports from powerbuilder.

ConnectToNewObject returns -2.

Anybody with the solution to that.

Accepted Solutions (0)

Answers (1)

Answers (1)

0 Kudos

Anybody with the solution Pls

Regards