Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Getting message file in use when trying to delete
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00873387
Message ID:
00873477
Vues:
8
>I used shell execute(from vfp) to view the document, after viewing the document i closed the document.
>
>Now when i tried to delete the file.
>
>DELETE FILE (locfile)
>
>I am getting the message file is in USE.
>
>Can you please tell me how i can release all the references. before deleting the file.
>
>
>Thank you.

try
if used(locFile)
   select (locFile)
   use
else
endif
DELETE FILE (locfile)
Imagination is more important than knowledge
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform