Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Getting primary key after an insert
Message
 
 
À
06/06/2006 17:36:52
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:
01127493
Vues:
21
>>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--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform