Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Test for a file used by someone else
Message
De
03/11/2003 10:17:51
 
 
À
03/11/2003 10:15:23
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00845609
Message ID:
00845613
Vues:
20
>
>I need to copy or Use a table which me be opened by someone.
>
>How can I test if it is in use by someone else without generating an error?
>
>
Hi Oscar;
llerror = .f.
on error llerror = .t.
use mytable in 0 excl
if  llerror
    wait wind nowait "The table isn't available"
endif
Claudio
"Now to him who is able to do immeasurably more than all we ask or imagine, according to his power that is at work within us, Ephesians 3:20
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform