Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Open Excl
Message
De
05/07/2002 09:36:53
 
 
À
05/07/2002 08:10:58
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Divers
Thread ID:
00675569
Message ID:
00675592
Vues:
9
Hi Allen,
Yes, you can check if a table is opened excl without any error message.

*Prior to opening the table, disable the normal error handling...
ON ERROR ?""
*Attempt to open the table...
SELECT 0
USE mytable EXCL
IF EMPTY(ALIAS())
WAIT WINDOW "Cannot get exclusive use!"
ELSE
*You have opened the table exclusive!
ENDIF
*Be sure to restore the error handler!
ON ERROR

Hope that helps,
Julian
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform