Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How do I check if a dbf is already open?
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
01632847
Message ID:
01633040
Vues:
66
>>Simple.
>>
llOK = .T.
>>try 
>>   use myTable Exclusive
>>catch to loexception
>>   llOK = .F.
>>   messagebox( 'Someone else is using the table!')
>>endtry
>
>OK, that sounds like what I need.... thanks for this.

You have to check for error 1705 specifically otherwise you'll hide any other errors
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform