Hi everybody,
made an unbound form with one combobox used to filter another. Everything worked great until I used "Option explicit" in the code. I get this error:
What it says is that the AfterUpdate gives a Variable Not Defined error.
Here's the AfterUpdate code:
Can someone please spot the error?Code:Private Sub cboHoofd_AfterUpdate() Me.cboSub1 = Null Me.cboSub1.Requery Me.cboSub1 = Me.cboSub1.ItemData(0) End Sub