Hi All,
I'm trying to get my first CR report to print out of a vfp6.0 form
***this line is in the load event of my vfp6.0 form.
sys(233,1)
***this code is in the click of the command button.
public CRApplication
public CRReport
CRApplication = createobject("crystalruntime.application")
CRReport = createobject("crystalruntime.report")
CRReport = CRApplication.openreport("c:\foxdat\locationcdrive.rpt")
ThisForm.Olecontrol1.reportsource = CRReport
ThisForm.Olecontrol1.viewreport
***end of code
When the CR opens I keep getting this message "Server has not yet been opened"?
I added code in the load event to use the table and it still didn't work and all the necessary .dll's are already in my system32 folder.
This report was created on my developement pc, windows 2000.
Any ideas would be appreciated.
Thanks,
Jim Harvey
jharvey@netrax.net