Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Crystal Reports - Locking table
Message
From
06/08/1999 13:34:08
 
 
To
06/08/1999 13:26:52
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00250336
Message ID:
00250785
Views:
27
>Hi Craig
>I tried your suggestion but it didn't work. VFP still cannot delete the temporary file. This seems to be an issue with how VFP interacts with the Crystal OCX. I just created an instance of my Com server in an interactive VFP session, and used the Crystal object to create the report file. At this point, the com server has set to null the Crystal Reports object. From the command window I have set to null the instance of my com server. Just for the heck of it I issue in the command window 'CLOSE ALL' 'RELEASE ALL' 'CLEAR ALL'. If I go out to explorer and attempt to delete the temporary data file created by the com server, Windows tells me that 'Access Is Denied - Make sure the file is not currently in use'. If I shut down the interactive VFP session, the file can be deleted with no problem.
>
>Thanks
>Bill
>
>>
>>
>>What happens if you do loReport = NULL instead of RELEASE loReport?

You are using a rather old version of Crystal. I wonder if that has anything to do with it. Have searched CRs KnowledgeBase for any information?
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform