-
I have a DBCombo with a dropdown list and I want to be able to select something from my list and un-select it. I find it works well for selecting am item but how do I blank out the field again if I need to?? Help please I'm sure this is simple but I don't know how.
-
How is your code?
Type your code and i try to help
Efrat
:)
-
I am not coding - just using the bound control to populate the data field. My problem is that if I restrict the user typing text (which I need to do as I only want items from the table selected) then I also restrict him from blanking it out!
-
I put a small button next to the dropdown (with the caption of "X" or something). Then in the click event of the button I put
DDComboBox.BoundText=""
this seems to do the trick.
------------------
Mark "Buzby" Beeton
VB Developer
[email protected]
-
I think you can allow user to type into the editbox part of the DBcombo and still enforce restriction using the MatchedWithList property of the combo. That way you can allow user to delete the text entered.