make a query that joins the Order master and the OrderDetails, all records.
put this in query a continuous form, with a text box in the header to search.
Code:
sub txtFind_Afterupdate()
If IsNull(txtFind) Then
Me.FilterOn = False
Else
Me.Filter = "[ItemName] like '*" & me.txtFind & "*'"
Me.FilterOn = True
End If
end sub
then the list will filter to those found.
put a button on the header to open this record to the ORDER master form.(to show the master and subform of details)
Code:
sub txtOpenOrder_click()
docmd.openform "frmOrderDtl",,,"[OrderID]=" & me.txtID
end sub