I am very new to Access and have what I think is a fairly simple database and form. On my form I have one combo box that sets a filter for my second combo box. The filter works fine when I first select the value for ComboBoxA (ComboBoxb is filtered correctly). When I change my selection in ComboBoxA the list available for me to select from in ComboBox B does not change (it does not re-filter).
I have tried
Me.ComboBoxB.Requery;all as a Code on the After Update event of ComboBoxA but receive the error "The expression After Update you entered as the event property setting produced the following error: A problem occurred while Microsoft Office Access was communicating with the OLE server or ActiveX Control".
Me!ComboBoxB.Requery;
[Form]![FormName]![ComboxB].Requery;
cmbComboBoxB.requery;
and
docmd.requery "cmbComboBoxB"
If I click OK on the error and check the list on ComboBoxB I get a box appear on the screen asking for the parameter value.
I have also tried putting the event: on click, on focus, on enter (on ComboBoxB), etc but always receive the same error.
Would appreciate any help.
Thank you