Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Violating key
Message
De
08/12/2004 11:01:23
 
 
À
08/12/2004 10:41:23
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Versions des environnements
Visual FoxPro:
VFP 6
Database:
Visual FoxPro
Divers
Thread ID:
00967754
Message ID:
00967767
Vues:
7
Christine

I've had this same problem and, with deleted recs, unfortunately they count in uniqueness tests. I suppose the reason is that deleted recs can be recalled (undeleted) at a later date. So, you wouldn't want to recall a rec with a duplicate key, and get violated. Makes sense.

Terry

>I am using the VFP tables. I have a situation where, you enter a record and the user enters a unique key. The record is then deleted. Later another record with the same key is entered. an error occurs regarding the uniqueness of the key. Why does this error occur. When I browse the VFP table I do see that the old record is there and marked for deletetion. Is there a way to avoid this problem with out packing and reindexing the table?
>
>Thank you in advance
>Christine
- Whoever said that women are the weaker sex never tried to wrest the bedclothes off one in the middle of the night
- Worry is the interest you pay, in advance, for a loan that you may never need to take out.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform