>Is there a way of testing if a table (filename.dbf) is valid before attempting to open and use it. I have an application that uses tables that are sent via FTP, and every once in awhile, I get one that gives the error message that "c:\path\filename.dbf is not a table." and my program crashes.
>Thanks!
Wrap your use command into TRY...ENDTRY
TRY
USE mytable IN 0
CATCH TO oErr WHEN oErr.ErrorNo = 15
ENDTRY
--sb--