Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Verifying if a table is open exclusive
Message
De
22/09/1999 16:50:46
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00267791
Message ID:
00267794
Vues:
15
Hi Martineau,

>I have to open a table exclusive how can i verify if the table is not open by the other application.
>Use Table In 0 Exlusive
>a message box tel me that the table is use

Do this:
lcError = on('error')
on error *

use .. excl

on error &lcError
Now USED('table') will tell you if you were succesful or not. If this seems cumbersome, try to make it a reusable method.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform