Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Getting primary key after an insert
Message
From
06/06/2006 18:16:46
 
 
To
06/06/2006 18:13:35
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:
01127503
Views:
25
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform