Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
A NICE message when Primary Key is violated
Message
De
05/05/2001 02:41:19
Walter Meester
HoogkarspelPays-Bas
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00503380
Message ID:
00503877
Vues:
23
Hi nadya,

>>Three possibilities come up in mind:
>>1. Use SQL - INSERT
>>2. Use Record or tablebuffering and commit the insert with tableupdate.

>Could you please expand the option 2 here?

See Message #503704

When using record and tablebuffering the record is not validated (Uniqueness viloation or triggers) until the record is commited with tableupdate(). So in this case you can always add a new record with APPEND BLANK, even if a blank PK alread exists.

In my personal framework, the changes people make in a form are (record or table) buffered. The users can commit or rollback the changes anytime.

Walter,
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform