Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Check for Exclusive Open?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00741115
Message ID:
00741487
Vues:
29
>Ewww. How about this instead?
>
>
TRY
>   USE HOME(2) + "data\customer" IN 0 EXCLUSIVE
>CATCH TO oErr
>   IF oErr.ErrNo = 1705
>      ? "Could not get exclusive use of customer table"
>   ELSE
>      THROW oErr
>   ENDif
>FINALLY
>   CLOSE DATA ALL
>ENDTRY


Sure, why not? <g>
I just copied a generic MessageBox() I had. Q&D.


Alex Feldstein, MCP, Microsoft MVP
VFP Tips: English - Spanish
Website - Blog - Photo Gallery


"Once again, we come to the Holiday Season, a deeply religious time that each of us observes, in his own way, by going to the mall of his choice." -- Dave Barry
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform