Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Primary Key
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Divers
Thread ID:
00532997
Message ID:
00538612
Vues:
8
>
>The PK is really assigned in the default value of the field in the table


If that is true, you shouldn't need this line in your ADD/SAVE button:
REPLACE PAID_ID WITH GETKEY('PAID_TOB')
If you put GETKEY('PAID_TOB') as the default value for the PAID_ID field, it will automatically populate the PAID_ID field when you do an append on that table. There is no need to have the above line (PAID_ID will be assigned a new value again).
Steve Gibson
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform