restricting cbobox selections

J

Junior

Using a cbo with table/query rowsource type
How do i restrict the user from entering something other than from the list
of possible selections?
 
F

fredg

Using a cbo with table/query rowsource type
How do i restrict the user from entering something other than from the list
of possible selections?

Set the Limit To List property of the combo box to Yes.
Since users may in fact miss-spell, or try to enter a value that is
not in the list, you'll need to place some code in the NotInList event
to handle that.
 
J

Junior

Thanks PC - limit to list is set to yes -
but some of my cbo's still allow other entrys - is there something else i
should look for?
 
P

PC Datasheet

Limit to list should stop all entries that are not in the list. For those cbos
where you think they are allowing entries, look to see if there is some code in
the Not In List event.
 
J

Junior

PC and fredg - Sorry - i was mistaken about the cbos accepting other data
not on the list - thanks for your patience
It is working properly
 

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