NotInList - still getting standard message

Valerie

Registered User.
Local time
Today, 10:52
Joined
May 7, 2003
Messages
65
I have a combo box which is used to find a record on the form. I have set LimitToList = Yes and put in code for the event NotInList.

My problem is that my code is working fine allowing me to produce my own message, but then the standard message appears as well saying "The text you entered is not an item in the list"

Has anyone any ideas please?
 
Perhaps try entering the following line within your on not in list code

response=acdataerrcontinue

but often, it is easier to give advice when seeing the code...
 
hope you have
Response= acDataErrContinue

if you have a stanadard application message then
Docmd.setWarnings false will do.
 

Users who are viewing this thread

Back
Top Bottom