johnisotank
Technical User
Hi all,
could someone point me in the direction of a solution for this pls..
I have a combobox which is populated from my tblBookingInUsers which looks like this
RowID, Depot1, Depot2, Depot3
1, John, Brian, Dave
2, Ian, Nigel, Mike
3, NULL, Alan, Richard
I then use some code to populate the textbox, I would like to use the items from the 'Depot1' column..
Looking at depot1, the combobox is populated with John, Ian and a Null (Which shows as blank) value.
Can someone tell me how to remove this blank value?
note: sometimes there may be more than 1 NULL value.
Any help at all is greatly appreciated.
thanks
John
could someone point me in the direction of a solution for this pls..
I have a combobox which is populated from my tblBookingInUsers which looks like this
RowID, Depot1, Depot2, Depot3
1, John, Brian, Dave
2, Ian, Nigel, Mike
3, NULL, Alan, Richard
I then use some code to populate the textbox, I would like to use the items from the 'Depot1' column..
Code:
'Set the binding source to look at
Me.MyComboBox.DataSource = tblBookingInUsersBindSource
'Set the column to look at
Me.MyComboBox.DisplayMember = "Depot1"
Looking at depot1, the combobox is populated with John, Ian and a Null (Which shows as blank) value.
Can someone tell me how to remove this blank value?
note: sometimes there may be more than 1 NULL value.
Any help at all is greatly appreciated.
thanks
John