Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

combo box - validating list 1

Status
Not open for further replies.

micky500970

Programmer
Jul 9, 2004
81
GB
HI,

I populate a combo box during form load. The data comes from an Access DB. The problem i have is that users can type in words in the combo.text box rather than choose a name from the list.

Is there a way of preventing this from happening?.Is it possible to have it so they can only select by mouse and not input?

Or do I have to check the data in the list against what has been entered manually. Not sure how to do this.

Thanks


 
If I remember correctly, there is a DropDownList style for the combo to do this. But you have to check if your filling algorithm still works with this style.
 
I cannot believe it! i already looked at that option and did not see any difference. I looked more thoroughly this time and yup, it does just what i need!!

Thanks

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top