B
Brian
I have a application with an Access front-end and a SQL Server 2005 back-end.
All of my records include what Access called an AutoNumber (Identity in SQL)
which is an auto-incrementing integer value. When I create a new record
through my forms, through a VBA function using rst.addnew and rst.update, is
there any way for the VBA function to return the newly assigned autonumber
value? In my database, there are many fields which can have duplicate
values, so the autonumber field is the only one that is definitely unique.
Thanks
All of my records include what Access called an AutoNumber (Identity in SQL)
which is an auto-incrementing integer value. When I create a new record
through my forms, through a VBA function using rst.addnew and rst.update, is
there any way for the VBA function to return the newly assigned autonumber
value? In my database, there are many fields which can have duplicate
values, so the autonumber field is the only one that is definitely unique.
Thanks