On your listing form, have the button run the OpenForm method.
In the detail form, have the Form_Open event either set the filter property or set the RecordSource property.
Using the Filter property:
me.filter = “Component = ” & Forms![ListingForm]![Component]
me.filteron = true
With the filter, the user could remove the filter so all components would appear. To avoid that, set the RecordSource property:
Me.RecordSource = “Select * from DetailTable Where Component = ” & Forms![ListingForm]![Component]
For either option, if the component is alphanumeric, you must include ‘ (single quote) in the string.
“Component = ‘” & Forms![ListingForm]![Component] & “‘”