You can use TRY...ENDTRY to ignore the error. Something like
TRY
USE mytable
CATCH TO oExp WHEN oExp.ErrorNo = 1707
USE mytable
ENDTRY
>
>I've problem running my routine that rebuilds corrupt .cdx files. I've a table that contains the tag names as well as the associated index expression. The function is listed below. The problem occurs whenever I remove the .cdx. Error msg states "Structual CDX file not found". I'd like to circumvent this error and allow the recreation process to continue. Any help would be greatly appreciated.
>
>here is the code:
>
>
<snip>
--sb--