>Hi all,
>
>i received a strange error message from vfp, which is in my opinion not the correct error message.
>the problem was that there was missing the cdx file, and when i wanted to open the table, i recevied, 'Primary key is invalid, please validate database' message.
>as i know the error message, which should come is the 'Structural cdx file is not found'.
>or i do not know something?
>please tell me how vfp has to work.
>Ivan
Ivan,
Yes CDX is missing but DBC also holds PK tag info.
If you don't have backups you might try this (backup first:)
set exclusive on
open database < database name >
validate data recover
Cetin