PDA

Click to See Complete Forum and Search --> : DBCombo - dropdown list


Caro
Feb 6th, 2000, 04:29 PM
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.

efrat
Feb 7th, 2000, 06:07 PM
How is your code?
Type your code and i try to help


Efrat
:)

Caro
Feb 7th, 2000, 08:06 PM
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!

Buzby
Feb 7th, 2000, 09:03 PM
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
BuzbyB@HotMail.Com

pardede
Feb 9th, 2000, 05:02 AM
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.