Skip to Content
avatar image
Former Member

Calling crystal report 2013 file from powerbuilder 12.6

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.

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Aug 09, 2016 at 07:31 AM

    Anybody with the solution Pls

    Regards

    Add comment
    10|10000 characters needed characters exceeded