G
Guest
Hi all,
I currently have a combobox that is filled with names and that works great.
I am using the SelectedIndexChanged event to see when the user clicks/selects
an existing entry in the combobox. When that happens, a sub is called to
pull the related data from a database and display on the screen.
My question is about when the user types in an entry that is not in the
combobox. At that point the entry fields should be cleared and the user can
fill them out and add the record.
Can I use the SelectedIndexChange to see wehter or not the typed in text
matches an entry? If not, what would be the best route to accomplish this?
Thanks in advance,
George
I currently have a combobox that is filled with names and that works great.
I am using the SelectedIndexChanged event to see when the user clicks/selects
an existing entry in the combobox. When that happens, a sub is called to
pull the related data from a database and display on the screen.
My question is about when the user types in an entry that is not in the
combobox. At that point the entry fields should be cleared and the user can
fill them out and add the record.
Can I use the SelectedIndexChange to see wehter or not the typed in text
matches an entry? If not, what would be the best route to accomplish this?
Thanks in advance,
George