Hi all,
I have a listbox named lstSearchResults that displays search results.
I would like to display in a label the amount of results that are found.
I thought i use this code but it doesn't work;
It displays the wrong number and doesn't change if i search on other terms.
Someome knows the code to display the number of search results?
I have a listbox named lstSearchResults that displays search results.
I would like to display in a label the amount of results that are found.
I thought i use this code but it doesn't work;
Code:
Me.Label2.Caption = lstSearchResults.ListCount
It displays the wrong number and doesn't change if i search on other terms.
Someome knows the code to display the number of search results?