Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Getting primary key after an insert
Message
De
22/06/2006 11:21:29
 
 
À
22/06/2006 11:19:49
Metin Emre
Ozcom Bilgisayar Ltd.
Istanbul, Turquie
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:
01130840
Vues:
11
>Add a guid field into your VFP table. use guid field as key field when you access it from VB. So you can learn autoinc field after a requery. If you don't want to add a new field your table, use any comment field for guid (I suppose there is any comment field), after learn autoinc value you can replace comment field back.

This one has been resolved since a while now. It is just that someone proposed the Guid approach yesterday so it has generated additional interest in the thread.
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
Répondre
Fil
Voir

Click here to load this message in the networking platform