Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Getting primary key after an insert
Message
From
06/06/2006 13:24:30
 
 
To
06/06/2006 13:05:48
General information
Forum:
Visual FoxPro
Category:
Visual FoxPro and .NET
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01127217
Message ID:
01127420
Views:
24
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform