I've got a form which contains an unbound subform in the detail portion. The subform is not linked to the mainform. It displays all information from tblEquipment.
In the header, I have several combo boxes and text boxes used to either add a new record to tblEquipment or to make changes to records in tblEquipment.
In the footer, I have a search form
This search form filters the subform and it also filters the main form. So, I can select say... a specific. Equipment Serial Number and see that record's information in the header combo boxes (these all being bound to a query).
What I would like to do is make it so that if you double click on a cell in the subform, the main form would be filtered. For instance, suppose I click on serial number "12345", I should then see that record in the main form.
...how is this done? I imagine the code needs to go in the subform. If I'm right, I'm not sure how to refer to the main form from the subform.