I have a cascading combo box with the option to select multiple items named (cmbBlock) it displays options depending on the combo box selection above it named (cmbVeriety). I would like it to requery every time cmbVariety changes. Below is the code I'm using.
Private Sub cmbVariety_AfterUpdate()
Me.CmbBlock = vbNullString
Me.CmbBlock.Requery
End Sub
But it seems that because the multiple value select with checkboxes is enabled it wont properly equerry. It displays the new options but also retains any check from the previous selection.
I have this in the afterupdate of cmbVariety. I'm not very good with VBA what do I have to add for the previous selected options to be unchecked.
![]()