Thanks Sergey and Rich. I have it working.
>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
In the End, we will remember not the words of our enemies, but the silence of our friends - Martin Luther King, Jr.