Combo Box reset

P

Phil

Hi,
I have a combo box that gets its data from a table. On my form the combo
box shows a records and if the user types something in the box that isn't in
the table I want to display my own message and have the combo box returned to
the value that was there before the user changed it. How do I do this and
not get the Access message? The "not in list" is set.

Thanks in advance.....
 
D

Dale Fye

Phil,

Use the NotInList event of the combo box. You can display your own message,
and then return control to the combo box.

Dale
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Combo box 0
Combo or list box 0
Word OLE to check spelling in text box 1
Split form 0
Formatting combo box drop-down list 2
Combo or list box 0
Combo Box case sensitivity 0
OLE Word spelling 0

Top