>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)