LeonelSanchezJr
Programmer
Here's the code I've been told from Tek-tips that should work to PREVIEW a Crystal Report, but I can't get it to work.
I get the following error:
"Class Definition CRYSTAL.CRPRE.APPLICATION is not found" with the code below.
*** You have to create the report object ...
loCrystalRp = Createobject("Crystal.CRPE.Application"
lcReport = "c:\temp\VFPReport.RPT"
loRp = loCrystalRp.OpenReport(lcReport)
loPrev = loRp.Preview
I need to keep this as simple as possible and the Preview must be able to Export. Thanks.
Thanks,
Leo ;-)
I get the following error:
"Class Definition CRYSTAL.CRPRE.APPLICATION is not found" with the code below.
*** You have to create the report object ...
loCrystalRp = Createobject("Crystal.CRPE.Application"
lcReport = "c:\temp\VFPReport.RPT"
loRp = loCrystalRp.OpenReport(lcReport)
loPrev = loRp.Preview
I need to keep this as simple as possible and the Preview must be able to Export. Thanks.
Thanks,
Leo ;-)