Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Invalid primary key?
Message
De
28/12/2001 09:11:11
Jay Johengen
Altamahaw-Ossipee, Caroline du Nord, États-Unis
 
 
À
28/12/2001 08:01:10
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00598741
Message ID:
00598760
Vues:
17
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform