Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
USED() with non .dbf extension
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00276954
Message ID:
00277101
Vues:
34
>>So I want to open the table exclusively. How do I tell if it's in use?
>
>You were on the right track earlier. Just do:
>
>
>nerror = fopen(cfilename)
>if nerror >= 0
>  =fclose(nerror) && It's available, so close it quickly and USE it!
>endif
>IOW, if nerror < 0, it's in use, and forget EXCLUSIVE open.

Hehe, that's exactly what I ended up with. Thanks Bruce.
Roi
'MCP' Visual FoxPro

In Rome, there was a poem.
About a dog, who found two bone.
He lick the one, he lick the other.
He went pyscho, he drop dead!
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform