>I just can't remember how to do this: How can I tell if a free table is in use (it's already open) by another program?
>
>Mel Cummings
I think I would just use error handling. Something like this:
local llError, lcError
llError = .F.
lcError = on("error")
on error llError = .T.
use MyTable exclusive
if llError
MessageBox("Could not open the table MYTABLE, for some reason.")
endif
on error &lcError
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)