You want two unbound combo boxes in the header. They would be exclusive of the other.
You didn't say what the record source for the form is, so lets call it a table named "tblCatalog". And both "Part" and "MFG" are text type fields.
One combo box named "cboPart".
The row source is "SELECT Part FROM tblCatalog"
In the afterupdate event, the code would be:
Code:
Private Sub Part_AfterUpdate()
Me.Filter = "Part = '" & Me.cboPart & "'"
Me.FilterOn = True
End Sub
The second combo box name "cboMFG".
The row source is "SELECT DISTINCT MFG FROM tblCatalog"
In the afterupdate event, the code would be:
Code:
Private Sub MFG_AfterUpdate()
Me.Filter = "MFG = '" & Me.cboMFG & "'"
Me.FilterOn = True
End Sub
Might also have a button to remove the filter.
Code:
Me.Filter = ""
Me.FilterOn = False