Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Unique Uniqueness Violation Problem
Message
De
21/07/2004 13:19:00
Steven Dyke
Safran Seats USA
Texas, États-Unis
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Unique Uniqueness Violation Problem
Divers
Thread ID:
00926639
Message ID:
00926639
Vues:
46
I use Seek() to see if a record is found. If it is I change the as as necessary, if not I use Insert Into to add the record.

I ran into the problem were the record could not be found and the Insert Into code generated an error that indicated creating this record would violate the Uniqueness index.

Comes to find out the index file had to be REINDEXED. This solved the situation. However, how can this situation be trapped and the user warned that all is not well?
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform