I have the following code which allows you to view a crystal report from VFP however
when it hits the Openreport command I get the following error message.
OLE IDispatch exception code 0 from Crystal Reports ActiveX Designer : Invalid TLV record
I've made sure that the correct dll and merge modules are installed on my machine as per the instructions at many of sites and read the following white paper on the BO support site c2014917
but still get this error
Any suggestions would be gratefully received
John
LOCAL oCR AS CRAXDRT.Application
LOCAL oRpt AS CRAXDRT.Report
LOCAL oDB AS CRAXDRT.Database
LOCAL ocDBT AS CRAXDRT.DatabaseTables
LOCAL oDBT AS CRAXDRT.DatabaseTable
oCR = CREATEOBJECT("CrystalRuntime.Application.11")oRpt = oCR.OpenReport("C:\temp\coursetest.RPT")
when it hits the Openreport command I get the following error message.
OLE IDispatch exception code 0 from Crystal Reports ActiveX Designer : Invalid TLV record
I've made sure that the correct dll and merge modules are installed on my machine as per the instructions at many of sites and read the following white paper on the BO support site c2014917
but still get this error
Any suggestions would be gratefully received
John
LOCAL oCR AS CRAXDRT.Application
LOCAL oRpt AS CRAXDRT.Report
LOCAL oDB AS CRAXDRT.Database
LOCAL ocDBT AS CRAXDRT.DatabaseTables
LOCAL oDBT AS CRAXDRT.DatabaseTable
oCR = CREATEOBJECT("CrystalRuntime.Application.11")oRpt = oCR.OpenReport("C:\temp\coursetest.RPT")