I need assistance saving on a click event in ACCESS 2013
Hi Experts,
I need to save a record in an ACCESS 2013 to my tblJOb table on a button click event. When I save the record using a VBA sql query, I want it to return The JobID (auto generated key) that was given to the newly created record. How can I do this? These are my table fields:
tblJob has the following fields:
JobID (Primary key - auto generated)
JobName
COntactName
ContactPhone
ContactEmail
Scott,
I am using an unbound table.
I will try Thommy's links and Helen's code a try.
mrotor
Microsoft Access
Microsoft Access is a rapid application development (RAD) relational database tool. Access can be used for both desktop and web-based applications, and uses VBA (Visual Basic for Applications) as its coding language.