Get Autonumber from newly inserted record in Access 2007 using Enterprise Library 4.1
Posted
by silverCORE
on Stack Overflow
See other posts from Stack Overflow
or by silverCORE
Published on 2010-04-07T03:18:02Z
Indexed on
2010/04/07
3:23 UTC
Read the original article
Hit count: 351
It's been ages since I last used Access as a back end but I'm being forced to. I'm using Enterprise Library 4.1, the Data Access Application Block.. with .NET 3.5 and I wanted to know the best way (code sample if possible) to write an insert query that will automatically give me the newly inserted auto-number back..or if it's not possible to do it in one step, how do you recommend doing it?
thanks for your help.
© Stack Overflow or respective owner