Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Is table open by another program?
Message
De
04/04/2004 20:40:13
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
04/04/2004 20:36:36
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00892131
Message ID:
00892149
Vues:
26
>Or:
>
>Try
> use mytable exlusive
>catch
> MessageBox("Could not open the table MYTABLE, for some reason.")
> return && or someother code
>endtry

Yes, right - I wanted to mention TRY ... CATCH for VFP8 and later, and then forgot it.

BTW, in case you wonder how to make the UT maintain spaces, etc. in your code: you can use < PRE > at the beginning of a code block, and < /PRE > at the end (omitting the spaces).
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform