I have a database with a table called BREAKFASTMILK
Inside the table I have Two Columns named MENU and FOOD ITEM
when using this code if I change the index of one of comboboxes it will change the index of the other.
I want to keep both independent but get their data from the same table.
With frm.cmbSUBRmeMilk
.DataSource = sundaydata.get_menuBRMILK.Tables("BREAKFASTMILK")
.DisplayMember = "MENU"
.ValueMember = "MENU"
.SelectedIndex = 0
End With
With frm.cmbSUBRfiMilk
.DataSource = sundaydata.get_menuBRMILK.Tables("BREAKFASTMILK")
.DisplayMember = "FOOD ITEM"
.ValueMember = "FOOD ITEM"
.SelectedIndex = 0
End With
Thanks for your help