P
Pat
I have a field in the main DB that is the record ID (autonumber) which is not
displayed on the parent form. But because I have a table relationship setup
with the child table I need to access this field from child form when
inserting records into the child DB. It works if the record is existing and
being edited, but on a insert into the main table it will not be visable to
the child.
I am opening the parent form in Add Mode with the following syntax:
DoCmd.OpenForm "frm_ModifyFirearms", acNormal, , , acFormAdd, acDialog
The field in the main db is firearm_id. The field in the child DB is
weaponid. The subform does have the fileds linked on the parent form.
I hope I made some since of this question. I am new to Access and VBA.
Thanks in advance....
displayed on the parent form. But because I have a table relationship setup
with the child table I need to access this field from child form when
inserting records into the child DB. It works if the record is existing and
being edited, but on a insert into the main table it will not be visable to
the child.
I am opening the parent form in Add Mode with the following syntax:
DoCmd.OpenForm "frm_ModifyFirearms", acNormal, , , acFormAdd, acDialog
The field in the main db is firearm_id. The field in the child DB is
weaponid. The subform does have the fileds linked on the parent form.
I hope I made some since of this question. I am new to Access and VBA.
Thanks in advance....