Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Crystal Reports - Locking table
Message
De
06/08/1999 13:34:08
 
 
À
06/08/1999 13:26:52
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00250336
Message ID:
00250785
Vues:
28
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform