Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Getting primary key after an insert
Message
De
06/06/2006 18:16:46
 
 
À
06/06/2006 18:13:35
Information générale
Forum:
Visual FoxPro
Catégorie:
Visual FoxPro et .NET
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01127217
Message ID:
01127503
Vues:
27
>Just call GETAUTOINCVALUE(0) directly from your app. Try it and come back if it doesn't work.

I understand GETAUTOINCVALUE(0) will return the primary key used at the insert time. But, where would it be returned. If it is inserted as a value as part as one of the inserted fields, then this would be inserted in a field. Thus, I would be back to square one.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform