Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Crystal Reports - Locking table
Message
From
05/08/1999 15:16:34
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Crystal Reports - Locking table
Miscellaneous
Thread ID:
00250336
Message ID:
00250336
Views:
60
Hi
Using crystal reports from within a VFP automation server. The automation server creates a temporary data file, creates a crystal reports object, prints the report to file, releases the crystal reports object, and then attempts to delete the temporary data file.
The automation server returns an error when attempting to delete the temp file, 'Access Denied'. It seems that the data file is locked even though the Crystal Reports object has been released. The file can only be deleted AFTER the VFP com server is destroyed (runtime) or after VFP is shut down (Interactive). I Don't understand why the file is locked - apparently by VFP.

I need to be able to create the temporary files with the automation server, print the report, and delete the temp file before the server is destroyed.

TIA
Bill Sabo
Next
Reply
Map
View

Click here to load this message in the networking platform