Good morning...I have used variuos version of Crystal reports. The latest being 8.5 and 10. With those versions, I have been able to "view" a crystal report using Visual Foxpro commands
version 8. I have used the following statements withing VFP
loCR = CREATEOBJECT("CrystalRuntime.Application")
loRep = ;
loCR.OpenReport("c:\temp\client_agency_referral.rpt")
THISFORM.oMyReportViewer.ReportSource = loRep
THISFORM.oMyReportViewer.ViewReport
this works no problem..however, this does not work in CR2008.
My problem is that i am trying to replicate an application that will display a crystal report . WHen i run the application, i pass as as paramenter a crystral report file name, c:\temp\test_listing.rpt when the control called olecontrol, olecontrol that has the following class;
crystalreports12.activexreportview it gices me an Ide Error..not file to view. How do i get the report file name known to CR2008?? I figured that i have to populate the ReportSource with the file name..but I can't figured out how to do it..
any suggestions greatly appreciated...