Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
USE EXCLUSIVE command
Message
 
À
05/02/2002 05:13:22
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00615294
Message ID:
00615297
Vues:
19
This message has been marked as the solution to the initial question of the thread.
>Hi,
>How I can trap error on command
>
>USE mytable EXCLUSIVE
>
>when another user is open this table ?
>
>Thanks.
>------------------------
>Krasimir Georgiev
>Sofia, Bulgaria

You can try something like
on error llIsExclusive = .T.

use mytable exclusive

on error
if llIsExclusive
  * Do something else
else
  * Not opened exclusive so continue
endif
HTH
Caroline
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform