October 1st, 2012, 06:57 AM
Control Selected Item on dblookupListBox
How do I control which Item is selecte in a dblookuplistbox. I want on my form hide to make the listbox select nothing. Currently when I click an item it highlights it but when I hid the form I do not want the listbox to still have that selected item highlighten
October 1st, 2012, 07:30 AM
I don't know it for sure (but you can easily test it), but I think you "clear" the selected item in dbLookupListbox by clearing the field connected to it through its DataSource and DataField properties. I.e. by null-ing the field's value. Of course your dataset must allow the field to be null-ed.