hello
I have h0 and h1 coloumns in my sql file. i want lbl0 and lbl1 text to be the values h0 and h1 in sql file. I want to use arrays becausethere are many of them. I am using the code :
When i run the program ii see that lbl0.text and lbl1.text is android.widget.textview.....
It doesnt make any sense . Any ideas ?
I have h0 and h1 coloumns in my sql file. i want lbl0 and lbl1 text to be the values h0 and h1 in sql file. I want to use arrays becausethere are many of them. I am using the code :
B4X:
Dim adet,v As String
Dim lbl(15) As String
adet = cursormyraces.RowCount -1
Dim n As Int
n=0
For n=0 To adet
v= "h" & n
lbl(n) = cursormyraces.GetString(v)
lbl0.Text = lbl0
lbl1.Text = lbl1
Next
When i run the program ii see that lbl0.text and lbl1.text is android.widget.textview.....
It doesnt make any sense . Any ideas ?