General information
Title:
Huge Problem with Crystal Reports and Foxpro
Chaps
I am trying to run a Crystal report(version 8.0 developers edition) in the Crystal Active X viewer using Foxpro 6 (Service Pack 3). The Crystal report is a report which contains 'On-demand Subreports'. When previewing these subreports and trying to print them i get the following error message and it crashed the machine.
Fatal error exception code C0000005
The code i am using to load the report is as follows
cReportTitle='temp report'
CRRep = CREATEOBJECT("Crystal.CrystalReport")
CRRep.Reportfilename=("c:\temp1.rpt")
CRRep.WINDOWSTATE = 2
CRRep.WindowTitle = cReportTitle
CRRep.windowcontrols="TRUE"
CRRep.windowshowprintsetupbtn="TRUE"
CRRep.destination=0
CRRep.progressdialog="TRUE"
CRRep.WindowAllowDrillDown="TRUE"
CRRep.action=1
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only