Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Is table open by another program?
Message
From
04/04/2004 20:40:13
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
04/04/2004 20:36:36
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00892131
Message ID:
00892149
Views:
28
>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)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform