Combobox: Limit to List... No warningmessage??

AccessFreak

Registered User.
Local time
Tomorrow, 00:56
Joined
Feb 19, 2009
Messages
69
A very weird thing occured. I have some comboboxes with a limit to list property set to yes. If a enter drobdown content which is not in the combobox data, there had to popup a warning message saying need to select a drobdown content.

It just stay in the field until I select one... but where is the warningmessage.

Now it doesnt show up..

Next thing is i have some formfields with currency values. But if i type in soms letters it doesnt give me the warningmessage also...

It just stay in the field until I type in some numbers... but where is the warningmessage.

whats happend.
 
did you perhaps set the warnings to false??


put docmd.setwarnings=true in the onload event of the form and see what happens
 
but if you limit to list, you cant exit the combo until youve picked something - and you'll just get the standard "not a valid selection (whatever it is)" wont you - not a custom message

if you just type, till there are on matches, you just wont get a message - until you try to tab off the field
 
but if you limit to list, you cant exit the combo until youve picked something - and you'll just get the standard "not a valid selection (whatever it is)" wont you - not a custom message

if you just type, till there are on matches, you just wont get a message - until you try to tab off the field


Yeah thats what i mean. It's not a custom message. It's the access standard warning message. If i tab nothing happens. The focus stays in in the drobdown menu untill i select something.

But if i tab nothing happens.

But maybe i need to set docmd.setwarnings=true in the form load.
 
Sorry my bad.. The warningmessage only occuer when hitting the tab or enter key.. I DOES NOT OCCUER WHEN SELECTING ANOTHER FIELD WITH YOUR MOUSEBUTTON. I THINK THAT'S WEIRD.. But oke..
 
surely it doesnt let you click on another field, with an invalid selection in the combo box?
 

Users who are viewing this thread

Back
Top Bottom