MS Access 2003 : VBA for INSERT INTO statement, new record: how to grab autoid number created?

Posted by Justin on Stack Overflow See other posts from Stack Overflow or by Justin
Published on 2010-03-25T22:09:21Z Indexed on 2010/03/25 22:13 UTC
Read the original article Hit count: 400

I have a button click event that takes information from controls and enters it into a table via INSERT INTO SQL statement in VBA.

I was wondering if there is anything I could add to this, or some other method to acquire the record number that is created for the record?

Could I just turn around and SELECT against the table and use rs.last?

© Stack Overflow or respective owner

Related posts about vba

Related posts about visual-basic