The error is your database not the software, so reinstalling won't help.
Your best & my only recommended solution is to restore the file from your back-ups. Taking periodic back-ups is always a good idea.
If you do not have a back-up & if FoxPro does not include a DBF repair utility then you can search the web to buy a DBF repair or recovery program, but there is no guarantee it will be able to save your file. Or they may be able to save some records but not all of them; what you recover may not be worth the expense.
NOTE: I have closed this thread because of people SPAMMING their paid software.