You have mail. Thank you for you donation ;-)
Did you already send an email
Northwind database mysql with 1108 record
Sub lv1_ItemClick (Position As Int, Value As Object)
Dim t As String = Value
db.QueryASync("select * from "&t&";",t)
End Sub
How to limit command ???
db.QueryASync("select * from "&t&"limit 100;",t) <--- Error
Maybe forget SPACE between "&t&" and limitselect * from "&t&"limit 100;",t
Because you are doing it the wrong way!?No error but data can't show in listview
db.QueryASync("select * from "&t&";",t)
Sub MySQL_QueryResult(data As List, meta As Map)
For i=0 To data.Size-1
Dim cur As Map = data.Get(i)
lv2.AddTwoLines(cur.Get("PC")&CRLF&cur.Get("NAMAROOM"),cur.Get("STATUSK")&CRLF&cur.Get("NAMA"))
Next
End Sub
No! This is how android works. You can not hold the mainthread.Can't direct on Button1_click ???
Starting two queries. In the result sub for the first you fill listbox1, in result for the second you fill Listbox2How to open 2 table together ?
Sub MySQL_QueryResult(data As List, meta As Map)
Dim m As Map = meta
lvlagu.Clear
For i=0 To data.Size-1
If m.Get("TaskID") = "datautm" Then
Dim cur As Map = data.Get(i)
lvlagu.AddTwoLines(cur.Get("JDL_LAGU")&" - "&cur.Get("PENYANYI"),cur.Get("SPATH"))
End If
End Sub
Sub MySQL_QueryResult2(data As List, meta As Map)
Dim m As Map = meta
lvlist.Clear
For i=0 To data.Size-1
Log(data.Get(i))
If m.Get("TaskID") = "pc4" Then
Dim cur As Map = data.Get(i)
lvlist.AddTwoLines(cur.Get("JDL_LAGU"),cur.Get("PENYANYI"))
End If
Next
End Sub
What is the error you get?Log(data.Get(i))