Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Making sure one occurence of the record is created
Message
De
25/04/2003 17:57:33
 
 
À
25/04/2003 17:53:46
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00781704
Message ID:
00781734
Vues:
21
hi Jay

but then i have to switch between set deleted on/off. that looked to me like too much hassle. plus a seek alone woun't work, because you might come back with the record just added, so you need to do a check aginst the record which was added. in the app i am working on currently records are beeing deleted by the users all the time. for this specific situation mostly out of stupidity from the user. because later they remember "duh, i needed that entry after all..."

>This is easily resolved by SEEKing on the index expression of the candidate key and doing an UPDATE/REPLACE rather than an INSERT.
>
>Jay
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform