Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Huge Problem with Crystal Reports and Foxpro
Message
From
30/01/2002 09:27:56
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Title:
Huge Problem with Crystal Reports and Foxpro
Miscellaneous
Thread ID:
00612685
Message ID:
00612685
Views:
58
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
Map
View

Click here to load this message in the networking platform