suppressing a message

G

Guest

hi all

My combobox is set to Limit To List. When there is no match, Access
produces its standard message: "The text you entered isn't...". To give my
own customized message instead, I use code in the NotInLst event.

Here's my problem. When there is a 'no match', my customized message is
given, but it is then followed by the Access standard message. How do I stop
this second message from showing?

thanks
 
M

Marshall Barton

cinnie said:
My combobox is set to Limit To List. When there is no match, Access
produces its standard message: "The text you entered isn't...". To give my
own customized message instead, I use code in the NotInLst event.

Here's my problem. When there is a 'no match', my customized message is
given, but it is then followed by the Access standard message. How do I stop
this second message from showing?


Did you use:
Response = acDataErrContinue
Me.thecombobox.Undo
 

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

Not In List question 1
Suppressing Message Box 3
Suppressing default error message 2
combobox question 6
Suppressing System Message 1
OnNotInList 6
Suppressing message: "inserting ..." 2
Give error message 0

Top