Hi,
sorry but I'm still teaching myself Access so the answer to this question may be easy or the question mightn't make sense. But I'm not in a rush so I've time to explain or give details:
I have a main form called UserFrm which creates records, each record created uses a primary key called EE_ID (which is an autonumber)
and then i have a subform called SectionTab which updates a table called tblUserSections.
What I need to do is get the EE_ID from the UserFrm and pass this value into the tblUserSections table. I don't need control of the EE_ID just want to reference it.
Should I use a get the recordset of the parent form? and if so how do I use the EE_ID value if the record hasn't been created yet? should I update the tblUserSections table
from the UserFrm and if so how?
thanks in advance.
sorry but I'm still teaching myself Access so the answer to this question may be easy or the question mightn't make sense. But I'm not in a rush so I've time to explain or give details:
I have a main form called UserFrm which creates records, each record created uses a primary key called EE_ID (which is an autonumber)
and then i have a subform called SectionTab which updates a table called tblUserSections.
What I need to do is get the EE_ID from the UserFrm and pass this value into the tblUserSections table. I don't need control of the EE_ID just want to reference it.
Should I use a get the recordset of the parent form? and if so how do I use the EE_ID value if the record hasn't been created yet? should I update the tblUserSections table
from the UserFrm and if so how?
thanks in advance.