Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
***Logical Delete Record
Message
De
03/03/1997 07:16:19
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00022604
Message ID:
00022618
Vues:
38
>>I have a Table with a key index field specified as 'Primary' type.
>>I have 'SET DELETE ON'. When a record was deleted with
>>the DELETE command, I wanted to append the same key
>>into the Table, but it says "Uniqueness violated". Why is that so?
>>Any advise please.....
>
>Alvin
>
>Delete does NOT remove the record from the table -- only PACK will do that. Just because you cannot see the record does not mean it still does not exist. You will either have to pack the table first or change the key value so it is unique.
>
>HTH,
>Tom

I know some folks will violently disagree with me, but this is the reason I always include a for !Deleted() in my primary key definition.
Tina Robichaux
Interland, Inc.
www.interland.net
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform