Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Invalid primary key?
Message
From
28/12/2001 09:11:11
Jay Johengen
Altamahaw-Ossipee, North Carolina, United States
 
 
To
28/12/2001 08:01:10
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00598741
Message ID:
00598760
Views:
16
>I have a customer running an accounting system writted in VFP 5.0. I am having problem opening a table. Each time I trr to open the table I get the message "invalid primary key please validate database". I have tried to validate the database but I does not correct the problem. The user does not have VFP loaded. I am not sure what to do next. Is there a way I can edit the file on site? Is there a way I can validate the database and recover? Should I just dial in grab the data and fix it at my site?

Jeff,

This line might fix it:
Use MyDatabase Exclusive
Validate Database Recover
Is it possible that there are duplicate primary keys existing in the table? Run a Select to determine if there are and manually adjust them. Make sure you check any dependencies/relationships for other tables also.

Worse case, zip the database/table and send to renoir@bellsouth.net and I'll take a look at it.

Renoir
Previous
Reply
Map
View

Click here to load this message in the networking platform