Hi, I have a table with 3 record and i want to "export" in a List, using DBUtils.ExecuteMemoryTable.
List.size is correct, but if i display the "record" in List, i see some like this:
[Ljava.lang.String;@26bd3b0
[Ljava.lang.String;@88aff12
[Ljava.lang.String;@b3dc0d1
and not this:
"forno" 1
Tubo" 4
"vetro" 12
why?
this is my code, thanks for help
List.size is correct, but if i display the "record" in List, i see some like this:
[Ljava.lang.String;@26bd3b0
[Ljava.lang.String;@88aff12
[Ljava.lang.String;@b3dc0d1
and not this:
"forno" 1
Tubo" 4
"vetro" 12
why?
this is my code, thanks for help
B4X:
Sub btnExport_Click
Dim lista As List
lista=DBUtils.ExecuteMemoryTable(Connection.mySQL, "SELECT * FROM LavoroTB", Null, 0)
Dim str As String
'Msgbox(lista.Size,"")
For i=0 To lista.Size-1
str=lista.Get(i)
Msgbox (str ,"")
Next
End Sub