Hello,
I am trying to learn to view and print Crystal reports from within VFP 9 SP2 and I am not getting results, I wonder if what I am trying to do will even work.
I have Crystal Reports 2008 installed in my computer, is VFP able to view reports saved with this version?
In IntelliSense I selected Crystal ActiveX Report Viewer Library 11.5, there are other 2 versions 10.2 and 10.5, I tried both of these, but still no luck.
The code I am using to test viewing the report is:
LOCAL oCR AS CRAXDRT.Application
LOCAL oRpt AS CRAXDRT.Report
oCR = CREATEOBJECT("CrystalRuntime.Application")
oRpt = oCR.OpenReport("C:\Temp\Inventory.rpt")
When I run it I get no errors, but nothing happens, the program terminates pretty quickly. I wonder if there is a way to trap any activity that may be going on in the background?
I will greatly appreciate any feedback, I may be trying to do this with the wrong tools.
Mike.
I am trying to learn to view and print Crystal reports from within VFP 9 SP2 and I am not getting results, I wonder if what I am trying to do will even work.
I have Crystal Reports 2008 installed in my computer, is VFP able to view reports saved with this version?
In IntelliSense I selected Crystal ActiveX Report Viewer Library 11.5, there are other 2 versions 10.2 and 10.5, I tried both of these, but still no luck.
The code I am using to test viewing the report is:
LOCAL oCR AS CRAXDRT.Application
LOCAL oRpt AS CRAXDRT.Report
oCR = CREATEOBJECT("CrystalRuntime.Application")
oRpt = oCR.OpenReport("C:\Temp\Inventory.rpt")
When I run it I get no errors, but nothing happens, the program terminates pretty quickly. I wonder if there is a way to trap any activity that may be going on in the background?
I will greatly appreciate any feedback, I may be trying to do this with the wrong tools.
Mike.