Click here to Skip to main content
15,893,564 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
When I am trying to open one of a .dbf files I get an error: "Primary key property is invalid, please validate database". I figure out that index is corrupted. So I recreated the index, but got another kind of error: “Invalid database - please validate database”.
I am running Windows 7 and VFP 9. All files created in the same version.
What should I do?
Posted

1 solution

Instead of trying to fix it yourself follow the instructions given in the error message and validate the database[^]

That link is the to SQL Server reference. If you are using a different database you'll need to look up the relevant instructions.

Make sure you have taken a backup.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900