L linum Active Member Licensed User Sep 3, 2008 #1 Can somebody post an example on how I can populate a combobox from a csv file or from a table? Thank you so much... linum
Can somebody post an example on how I can populate a combobox from a csv file or from a table? Thank you so much... linum
Erel B4X founder Staff member Licensed User Longtime User Sep 3, 2008 #2 Something like: B4X: Sub App_Start Form1.Show Table1.LoadCSV("CSVFILE.csv" , "," ,False,True) For i = 0 To Table1.RowCount-1 combobox1.Add(table1.Cell("ColumnName",i)) Next End Sub
Something like: B4X: Sub App_Start Form1.Show Table1.LoadCSV("CSVFILE.csv" , "," ,False,True) For i = 0 To Table1.RowCount-1 combobox1.Add(table1.Cell("ColumnName",i)) Next End Sub
L linum Active Member Licensed User Sep 3, 2008 #3 Thank you.... I had been looking all over the forum for an example and I never found anything. Thank you again...
Thank you.... I had been looking all over the forum for an example and I never found anything. Thank you again...