Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Checking if table in use
Message
De
10/10/2004 20:36:36
 
 
À
10/10/2004 01:56:30
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00950216
Message ID:
00950309
Vues:
14
You have a bug in your code:
?used (MYTABLE.DBF') && change to
?used ("MYTABLE")
If you want to check if it's used exclusive:
?ISFLOCKED("MYTABLE")
>Hi all
>How can I check if my table in use?
>When i try this:
use mytable again in 0 excl
I get meg\ssage that file access is denied becase my table is in use.
>But when I run the following code:
if used (MYTABLE.DBF')
>messagebox('Used', 0+16)
>else
>messagebox('Not Used', 0+64)
>endif
I get my messagebox answer that my table not in used.
>Help please
- Jeff
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform