This is so basic I am almost embarrassed to ask but here goes. I have two subforms bound to a 8 field table. Subform 1 fills in 5 of the 8 fields and subform 2 fills in the other 3. I fill out my main form bound to Table1 then open subform1 and fill in the 5 fields. This subform is linked to my mainform by my Master-Chield fields.
Field 5 in form1 is a checkbox. If the box is checked code opens subform 2 to fill in the other 3 fields of the table. If the box is not checked the second subform does not open for that record. My question is how do I insure the record in my second subform, the popup form, is linked to the correct record in the first subform and to the correct record in my mainform. Is it automatic since both subforms are bound to the same table and the first subform is linked?
Field 5 in form1 is a checkbox. If the box is checked code opens subform 2 to fill in the other 3 fields of the table. If the box is not checked the second subform does not open for that record. My question is how do I insure the record in my second subform, the popup form, is linked to the correct record in the first subform and to the correct record in my mainform. Is it automatic since both subforms are bound to the same table and the first subform is linked?