I have a main form which has two identical subforms. The main form displays all of the rooms in tblRoom and it allows me to add new rooms or make changes to existing rooms.
The first subform (I'll call the Subform1) is in datasheet view and it displays all the cabinets within a room. Currently, RoomPK from the main form is linked to RoomFK in the subform.
The second subform (Subform2) is in regular single form view and I want to use it to add new cabinets to tblCabinet as well as make changes to existing cabinets. I'm trying to make it so that if I click on a row from Subform1, subform2 will requery to display those records and allow me to make changes to them.
I'm not sure whether I should link the subforms together and requery Subform2 from OnCurrent of Subform1, or if I should link both subforms separately to the main form and then filter Subform2 by the CabinetPK from Subform1.