Jos,
You can use TRY...ENDTRY (VFP9) or local error hanler to ignore the error and open the table w/o CDX. See
Re: Erasing cdx and recreating indexes within a program Message #
461844>
>How do you open a DBF file if the CDX file is missing? From the IDE it works but from inside an exe app it generates an error. How to avoid the error?
>
>Thanks
--sb--