Home All Groups Group Topic Archive Search About
Author
12 Apr 2005 7:24 PM
Sean Holt via DotNetMonster.com
In my application I have about 15 comboboxes and checkboxes scattered
throughout 5 tabs.  After I populate the combobox and try to null it out
(by just highlighting and deleteing), the data reappears as soon as the
save button it hit, or if I switch to another tab and switch back.  This
does not happen if I select another option from the drop down list.  I was
having the same problem with the check boxes but added an endcurrentedit to
the form before saving or switching tabs and this did the trick.  Any ideas
on how to get the nulled out boxes to save to the database?  Thanks for the
help in advance.

--
Message posted via http://www.dotnetmonster.com

Author
12 Apr 2005 9:27 PM
Chris Murphy via DotNetMonster.com
You need to do more than null out the text in the combobox. Either create a
empty cobobox item and default to that, or do the same after you delete the
selected item. btw, where are you pulling the data that populates the
comboboxes?

--
Message posted via http://www.dotnetmonster.com
Author
13 Apr 2005 2:29 PM
Sean Holt via DotNetMonster.com
Im pulling the data from a code table, that lists the codes and
descriptions using a data source.

--
Message posted via http://www.dotnetmonster.com