I don't want the Default Error Message for my Combo Box

S

Steven M. Britton

I have a combo box with the Limit to list property set
to "Yes". On the Event tab -On Not On List - I have an
event procedure that displays a msgbox letting the user
know that they have enter an incorrect value and what to
do to correct it. After the click OK, another Msgbox
appears saying that the text entered is not on the list.

How do I get rid of the second "default" msgbox that
arrives after mine???

-Steven M. Britton
 
D

Dirk Goldgar

Steven M. Britton said:
I have a combo box with the Limit to list property set
to "Yes". On the Event tab -On Not On List - I have an
event procedure that displays a msgbox letting the user
know that they have enter an incorrect value and what to
do to correct it. After the click OK, another Msgbox
appears saying that the text entered is not on the list.

How do I get rid of the second "default" msgbox that
arrives after mine???

-Steven M. Britton

Before exiting the event procedure, include a line that says

Response = acDataErrContinue
 

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

Top