>Adjusted to restore previous ON ERROR setting...
OK, thanks... I was too lazy to figure out these details.
>
>>
>>I think it is easier to check "after you open it", that is, use error handling. For instance:
>>
>>
>>local llFileError, lcOldError
>lcOldError = on("error")
>>ON ERROR llFileError = .T.
>>use MyTable
>>ON ERROR &lcOldError
>>if llFileError
>> MessageBox("Can't open table.")
>>else
>> (Continue processing)
>>endif
>>
>>
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)