could you use
try
use file1
...
catch
oops error with file
...
finally
~M
>I have automated applications, and they USE tables created by other applications. Occasionally, these tables are invalid, causing my VFP application to hang. Is there a way to check for a valid table before attempting to USE it? Or, is there a way to trap the invalid table error? I've been unable to track down the error trapping approach.
>
>Thank you!
>
>---Michael
Go raibh maith agat
~M