I was wondering, i have a textfield and a listbox.
I want to search this listbox, but not from the first letter. This is becouse i have the Customer ID first, and the user should be able to write in f.eks Jimbo in the textfield, and the listbox automatically jumps down to jimbo EVEN though in the listbox it said "12 Jimbo" where 12 is the customer ID
I have a code for finding the name without the customer ID in front, but it doesnt work when i use the customer ID
Anyone have an idea?
Dim i As Integer = Me.listkunde.FindString(Me.txtkundesok.Text)
Me.listkunde.SelectedIndex = i