tbl_Topics
* Topic_ID (autonumber)
* Topic_Name (text)
frm_Add1 has a simple 'Topic Name' field, which is entered and then a record created in tbl_Topics.
I have a little bit of VBA which validates and enters the record, closes frm_Add1 and opens frm_Add2.
On frm_Add2 I will be entering data into another table, but need to use the autonumber from tbl_Topics which was generated on frm_Add1.
How do I carry that autonumber value over from frm_Add1 to frm_Add2?
Thanks.
* Topic_ID (autonumber)
* Topic_Name (text)
frm_Add1 has a simple 'Topic Name' field, which is entered and then a record created in tbl_Topics.
I have a little bit of VBA which validates and enters the record, closes frm_Add1 and opens frm_Add2.
On frm_Add2 I will be entering data into another table, but need to use the autonumber from tbl_Topics which was generated on frm_Add1.
How do I carry that autonumber value over from frm_Add1 to frm_Add2?
Thanks.