Hi Virusim,
>The problem, now is that the first dbf file even with it CDX file in the same folder, when open by my function, the CDX file is not open , result in error 52, no table opened the current workarea. The next open file after that does not had the problem, it can open it cdx file without any error.
Could there be any problem with the CDX file or the DBF file? VFP won't open a CDX file when the link to the CDX file in the header is broken, when there are wrong entries in the DBC or when the CDX is missing or heavily corrupt.
Christof
--
Christof