houstonswamp
New member
- Local time
- Today, 13:14
- Joined
- Mar 12, 2019
- Messages
- 5
Hello there,
I'm trying to filter a continuous form based on the value of a combo-box.
I attached the following code to the combo box after update:
It seems to work, but only once. Is there a possibility to change the value and it filters again and again?
Thanks in advance,
Houston
I'm trying to filter a continuous form based on the value of a combo-box.
I attached the following code to the combo box after update:
Code:
Private Sub Combo1_AfterUpdate()
Me.Filter = "[fkKlantenID] = [Forms]![Verkoopoverzicht]![Combo1]"
Me.FilterOn = True
End Sub
It seems to work, but only once. Is there a possibility to change the value and it filters again and again?
Thanks in advance,
Houston