Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Get autoinc value back
Message
De
14/09/2004 10:12:28
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Visual FoxPro et .NET
Titre:
Get autoinc value back
Divers
Thread ID:
00941893
Message ID:
00941893
Vues:
63
I'm connecting to VFP DBC from a .NET applicaiton using the OLEDB provider. When I do an insert into a table using an autoinc field, I need to get the autoinc value back. In SQL Server I could use the SCOPE_IDENTITY feature, but I'm not finding this capability in VFP...

What is the most reliable way to do this? Keep in mind that this is going to be in a multi-user environment so I want to make sure I get the value back from the insert I just did, not someone elses insert that may have happend right after mine.
Thanks,
Dan Jurden
djurden@outlook.com
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform