Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Multi User Table Access
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00233295
Message ID:
00233882
Vues:
35
>In a multi-user program, what is the easiest way to tell if a table is opened by another user. I need to use the table from time to time exclusivly to do maintainance and will need to make sure all users are out of the table.

Here's an old but still good method, also:
nfilehandle = fopen('filename')
if nfilehandle >= 0
  =fclose(nfilehandle)  && it's available for you to open EXCL
else
 * it's in use
endif
The Anonymous Bureaucrat,
and frankly, quite content not to be
a member of either major US political party.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform