not in list event?

  • Thread starter Thread starter liakamai
  • Start date Start date
L

liakamai

When the user enters an invalid entry into a combobox, I would like th
invalid entry highlighted.

me.value = highlighed (obviously not the solution)

How would one do this
 
If someone's keyed in an entry into a combobox, you're going to get the
NotInList event firing, and (if you don't have code to do something to
handle their entry), the combobox is going to clear out the value. Since the
value doesn't exist in the combobox, there's nothing for you to highlight!

There's an example of how to use the NotInList event at
http://www.mvps.org/access/forms/frm0015.htm at "The Access Web"
 
Back
Top