Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP7, CR9, UFLs, OLEDB and migranes
Message
General information
Forum:
Visual FoxPro
Category:
Crystal Reports
Miscellaneous
Thread ID:
00731935
Message ID:
00745280
Views:
42
By default, when you run a report, it is opened in exclusive mode. You have two options:

1. Copy the RPT file to a temp copy, then use it.
2. When you use the OpenReport method of the RDC, pass the option second parameter (use 1 for the value). This causes Crystal Reports to make its own temp copy of the RPT file. The code would look something like:
oCrystal = CREATEOBJECT("CrystalRuntime.Application")
oReport = oCrystal.OpenReport("MyReport.RPT", 1)
>Craig
>We have a clent receiving the following error:
>error - msg:1429 - OLE IDISPATCH exception code 0 from CrystalReport: Access to report file denied. Another program may be using it...
>
>Hav eyou ever seen this error, and do you know what is causing it? Some specs:
>VFP 7, Crystal 8, ODBC Connection.
>
>Thanks
>Carolyn Hamrick
>chamrick@csi-plus.com
>CSI, Inc
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Previous
Reply
Map
View

Click here to load this message in the networking platform