Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Getting primary key after an insert
Message
De
06/06/2006 13:24:30
 
 
À
06/06/2006 13:05:48
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:
01127420
Vues:
21
>Since you decided to ignore my questions, I don't know if this is what you need, but you can use functions in INSERT command, it doesn't matter whether you execute the command using ADO, OLEDB or ADO.NET.
>
>INSERT INTO ... VALUES (..., GETAUTOINCVALUE(0), ...)

I don't understand how I could get a handle on that value after the insert command is done.
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