Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Unique index violation
Message
De
25/08/1998 16:03:36
 
 
À
25/08/1998 15:49:10
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00129845
Message ID:
00129851
Vues:
36
Hola Mauricio ---

I wouldn't use filter to filter out deleted records to support primary key index...not good form, so to speak. Just pop a new number of whatever counter you're using. If the int or num field is large enough, this shouldn't be a concern.

>I Create a Table with a field X that is a primary key.
>
>I Input a record with X=1
>Delete the record, set deleted is on
>
>When I Insert record with X=1 again, Foxpro show the error: Unique index violation.
>
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform