Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Temp files
Message
De
26/09/1997 21:38:34
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
FoxPro 2.x
Titre:
Divers
Thread ID:
00051865
Message ID:
00051895
Vues:
39
>I have a foxpro 2.5b application that uses the Sys(3) function to create temporary databases and
>text files. When I create an updated version of the exe file and place it into an existing application's
>directory, I get error messages that a temp file, ex 54909706.txt, already exists. When this happens,
>there are no previous temp files in the directory and I can see this new file in the directory
>because the application just created it. Is there anyway that the Foxpro ESL library file is
>storing this number twice when trying to assign a unique one?


You should be using CREATE CURSOR or SQL SELECTs to create temp files. When you close the cursor, the temp file is erased.

Craig
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform