Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Getting primary key after an insert
Message
 
 
To
06/06/2006 17:36:52
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:
01127493
Views:
23
>>Why not?
>
>I am trying to understand how from VB.NET using OleDB that I would be able to get a handle on the primary key, when auto increment, once the insert has been done. I understand this works in VFP but I cannot see how this could work in .NET.

Aleksey is sying that you can call GETAUTOINCVALUE(0) as you would call VFP stored procedure. It doesn't requiered DBC and will work with free table. If you put FXP in the same directory as the tables, you can call it as a stored procedure too.
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform