Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
File Access Denied
Message
 
À
28/11/2001 17:44:12
Todd Brown
Teachers Credit Union
Granger, Indiana, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
00587237
Message ID:
00587240
Vues:
26
This message has been marked as the solution to the initial question of the thread.
>We have set up some processes that run automatically at night and once in a while someone has a table open at the time we are trying to use it and I am looking for a way to detect if the file is already being used exclusively. We can detect if the table is there but not if it is being accessed exclusively. Is there a way to do that.
>
>Thanks
>Todd
Try with something like:
lError = .F.
on error lError = .T.
use MyTable exclusive

if lError
   ? 'could not open table exclusively'
else
   * regular processing
endif
Hector Correa
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform