Thank you Rollershade! I used that....but is my mistake...I did not explain myself correctly....!
I used as a fill method the:
daCombo.Fill(dsCombo, "Cartes")
With ComboBox
.DataSource = dsCombo.Tables("Cartes")
.DataMember = "CarteNom"
.valueMember = "CarteNom"
End With
So, when I want to select another one from the list, I confirmed with an ADD button and it is there where I want that list to decrease by the one selected.....I used the ComboBox.Items.clear() and I got an error because the .DataSource is used to fill the ComboBox.....!
Any idea?
Enter your message below
Sign in or Join us (it's free).