josephbupe
Registered User.
- Local time
- Today, 08:42
- Joined
- Jan 31, 2008
- Messages
- 247
Hi,
Please, how can I use the filteron property on a list box?
I want to filter a listbox named "lstPersons" in a form "F_Wanted_Menu" based on what is typed in in a textbox on the same form. Initially, this worked well with a continuous form, which I have decided to replace with a list box:
I will appreciate your help.
Regards
joseph
Please, how can I use the filteron property on a list box?
I want to filter a listbox named "lstPersons" in a form "F_Wanted_Menu" based on what is typed in in a textbox on the same form. Initially, this worked well with a continuous form, which I have decided to replace with a list box:
Code:
Forms!F_Wanted_Menu!lstPersons.FILTER = "MySearch Like '*" & Nz(Me.txtSearch.Value, "") & "*'"
Forms!F_Wanted_Menu!lstPersons.FilterOn = True
I will appreciate your help.
Regards
joseph