W WiLey2000 Member Licensed User Longtime User Mar 21, 2009 #1 Hi all, Is it possible to populate a combobox from a table column? If so, could someone give me an example. Thanks WiLey2000
Hi all, Is it possible to populate a combobox from a table column? If so, could someone give me an example. Thanks WiLey2000
specci48 Well-Known Member Licensed User Longtime User Mar 21, 2009 #2 Hi WiLey2000, it is possible, but you have to cycle through all rows of the table. There is no "standard"-function for that: B4X: Sub FillComboFromTable For i = 0 To Table1.RowCount - 1 ComboBox1.Add(Table1.Cell("ComboColumn", i)) Next End Sub specci48
Hi WiLey2000, it is possible, but you have to cycle through all rows of the table. There is no "standard"-function for that: B4X: Sub FillComboFromTable For i = 0 To Table1.RowCount - 1 ComboBox1.Add(Table1.Cell("ComboColumn", i)) Next End Sub specci48
W WiLey2000 Member Licensed User Longtime User Mar 22, 2009 #3 thanks specci48 I should of known that! WiLey2000