Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Insert record and return value
Message
De
29/09/2004 13:22:01
Jerry Tovar
Dana Corporation Dana It
Maumee, Ohio, États-Unis
 
 
À
28/09/2004 14:11:26
Information générale
Forum:
ASP.NET
Catégorie:
ADO.NET
Divers
Thread ID:
00946845
Message ID:
00947264
Vues:
17
Kevin,

Thanks for your help.

Could you point me to an example of using scope_identity? I have been trying the examples in the .net help particually the examples of getting the auto-number field from an Access table, but I am still unable to query a VFP table with scope_identity to get the auto-inc value of the record that was just inserted.

Do you know of any examples of retrieving the auto-inc field value from a VFP table from .net?

Thanks,

Jerry




>Just as a follow-up...if you want to wrap all this up in a stored procedure, there was a discussion about this a few months ago. Check out message #930339 from Bonnie Berent.
>
>If all you want to do is run a subsequent query, then the scope_identity should work.
>
>Kevin
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform