DanNorris2000
Technical User
Please do not point me to the Craig Bernston article. It offers nothing to me.
Crystal 8.5
VFP 6.0
Error: OLE IDispatch exception code 20599 from CPEAUT32: Cannot open SQL server.
Just trying to call a Crystal report with parameters from within a VFP program from a command button in VFP.
using the following code:
oCRAPP = createobject("crystal.crpe.application"
oRep = oCRAPP.openreport("k:\vfp\reinsurance\reports\35pf.rpt"
oRep.printout(.f.)
The problem is that this work on some reports and not others
Crystal 8.5
VFP 6.0
Error: OLE IDispatch exception code 20599 from CPEAUT32: Cannot open SQL server.
Just trying to call a Crystal report with parameters from within a VFP program from a command button in VFP.
using the following code:
oCRAPP = createobject("crystal.crpe.application"
oRep = oCRAPP.openreport("k:\vfp\reinsurance\reports\35pf.rpt"
oRep.printout(.f.)
The problem is that this work on some reports and not others