i found many answers to this question for other databases, but didn’t found any answer for Microsoft access.
I have a table that has the following columns : ID A B C
the id is auto number , how do i get the ID of a row i just inserted.
btw : i’m using C#
thanks
See the MSDN article here. In MS Access, you’ll want to
SELECT @@IDENTITYwithin the scope of the statement which inserted the record.