Situation:
a) I have a simple file "statuses.csv" that contains the following:
b) I want to load it to a ComboBox
Try the following but it doesn't work:
a) I have a simple file "statuses.csv" that contains the following:
B4X:
01-general
02-ugarte Centro
03-ugarte Rural
b) I want to load it to a ComboBox
Try the following but it doesn't work:
B4X:
Dim su As StringUtils
Dim codTe As List = su.LoadCSV(Main.pRutaBase, "estados.csv", ",")
Log("Tamaño Archivo codte: " & codTe.Size)
Log("Item 0: " & codTe.Get(0))
For i = 0 To codTe.Size -1
B4XComboBox1.cmbBox.Add(codTe.Get(i))
Log("Item: " & i & " --->" & codTe.Get(i))
Next