It sounds like you might have got it working, but here is what I did:
Since every field is TEXT, except the PK field "id", the Row Sources have to be changed a little. (Do not include the PK field "id")
It is misleading when a field is named "productID" (the "ID" indicates to me that the field is numeric)
Because this is not a normalized structure, you must have 2 criteria for the combo 'FeatureName'.
Here is the Row Source and event Procedure code for each of the combo boxes:
Code:
Combo Name -->> Manu '<<-- I would have usec cboManu
Row Source -->> SELECT DISTINCT Options.manu FROM Options;
Event Procedure
----------------
Private Sub manu_AfterUpdate()
productid = Empty
featurename = Empty
productid.Requery
End Sub
*************************************************************************************
Combo Name -->> productid '<<-- I would have usec cboProductid
Row Source -->> SELECT Options.productid FROM Options WHERE Options.manu = [Forms]![Options_Form]![Manu];
Event Procedure
----------------
Private Sub productid_AfterUpdate()
featurename = Empty
Featurename.Requery
End Sub
*************************************************************************************
Combo Name-->> Featurename '<<-- I would have usec cboFeaturename
Row Source -->> SELECT ID, featurename FROM Options WHERE Options.manu = [Forms]![Options_Form]![Manu] AND [Forms]![Options_Form]!productid = Forms!Options_Form!productid;
Event Procedure
----------------
Private Sub Featurename_AfterUpdate()
On Error GoTo Featurename_AfterUpdate_Err
DoCmd.SearchForRecord , "", acFirst, "[ID] = " & Str(Nz(Screen.ActiveControl, 0))
Featurename_AfterUpdate_Exit:
Exit Sub
Featurename_AfterUpdate_Err:
MsgBox Error$
Resume Featurename_AfterUpdate_Exit
End Sub
'manu' and 'productid' - both have the column count set to 1
'featurename' - column count set to 2 and the column width is set to 0 (zero)
I changed the 'FeatureName' macro to an Event Procedure (see above)
Good luck with your project..........