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 duplicate data problem 1

Status
Not open for further replies.

ToeJamNEarl

Programmer
Jan 26, 2004
91
US
Hey guys,


I have a form with 4 different combo boxes fed in data from the same recordset. I have implemented the code to check if there is a duplicate item selected, but what I want to do is upon duplicate item

force the combo box to autoselect the first item, which is a blank line. The style of my CBO's is 2 -Dropdown list, because I do not want the user to manually type in text into the combobox.


Appreciate any help on this subject.

-Diran
 
combobox.listindex = 0 should do it if the first row is indeed blank.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top