You would have to delete the CDX file in that case. C5 errors are not trappable. See
Re: Clean Index versus reindexing - what is the difference Thread #
825413 Message #
825727>Thanks Craig,
>
>Yes, I know... the problem is that I need to catch the error when I execute an USE command that opens a table with a corrupted index file.
>Normally Fox just gives me C0005 and exits.
>
>Best regards,
>Pablo Velazco
Mark McCasland
Midlothian, TX USA