Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Used File
Message
De
20/07/1999 08:42:51
 
 
À
19/07/1999 23:48:14
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00243420
Message ID:
00243522
Vues:
32
>Dear all,
>
>Is there any other command for knowing that a table is being used by another user besides "USED" ?
>
>thank's

You can se ta temporary error handler and try to openthe table exclusively.

llGotExclusive = .T.
lcOnError = ON("ERROR")
ON ERROR llGotExclusive = .F.

USE SomeTable IN 0 EXCLUSIVE

ON ERROR &lcOnError

IF !llGotExclusive
* soome one has the table open
ENDIF
Erik Moore
Clientelligence
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform