Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Check for Exclusive Use
Message
De
13/07/2005 23:25:17
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01032489
Message ID:
01032501
Vues:
16
Thank you sir! I didn't even know about the IsExclusive function.

Aloha,

James

>>
>>Is there a way to check if a table is being used EXCLUSIVE?
>
>
* Check if table is open exclusive by current application
>IF ISEXCLUSIVE("mytable")
>  ...
>ENDIF
>* Check if table is open exclusive by something else
>TRY
>  USE mytable EXCLUSIVE
>CATCH TO oErr WHEN oErr.ErrorNo = 1705
>  ...
>ENDTRY
>...
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform