Thank you for responding
I would consider using a CheckBox, I would enable three state on the check
box for null.
Actually, this is what I am trying to avoid. If I use a 3-state check box it
forces the user to to consider what a null is etc., and in this case I think
it would be better to just give them a Y or N option.
With regard to doing this with a Drop down list, there are a couple of
things I don't understand. I have a Y/N (null) field scenario on a
Winform. I am using a combobox for this. I have DropDown Style set to drop
down list and in the Items collection I have Y and N. However, I have yet
to discover the combination of other properties that will allow me to
selecte either the Y or the N or to leave the field blank. I would like to
be able to leave the field blank and if left blank have it considered a
null. Is this possible? Right now, it will not allow me to enter anyting
into the field except a Y or an N.
Also I do not understand how to bind this field at design time. In the
databindings property I have three choices; selected Item, Selected Value
and Text. Which of these do I choose? I have tried all of them but they
all seem to have their quirks. If when the record first comes to the screen
there is a Y in it, if I choose a N instead and save the record, the N is
replaced by the Y. Don't understand why.
Am I using the right tool?