sashapixie
Registered User.
- Local time
- Today, 18:57
- Joined
- Sep 30, 2015
- Messages
- 27
Hi There
I have a form with a combo box in split form which I want to use to filter the results in my datasheet at the bottom of my split form.
I have the following code but when I make a selection it filters to a new record???
Private Sub CmbEmployeeSelector_AfterUpdate()
Me.Filter = Me.Full_Name = Me.CmbEmployeeSelector
Me.FilterOn = True
End Sub
I also would like to know how can I take the filter off if the combo box is blank.
Any help would be appreciated.
I have a form with a combo box in split form which I want to use to filter the results in my datasheet at the bottom of my split form.
I have the following code but when I make a selection it filters to a new record???
Private Sub CmbEmployeeSelector_AfterUpdate()
Me.Filter = Me.Full_Name = Me.CmbEmployeeSelector
Me.FilterOn = True
End Sub
I also would like to know how can I take the filter off if the combo box is blank.
Any help would be appreciated.