Sub MySQL_QueryResult(data As List, meta As Map)
ToastMessageShow(meta.Get("RecordCount") & " rows retrieved in " & meta.Get("ms") & " milliseconds", True)
For i = 0 To data.Size - 1
Log(data.Get(i))
Next
Log(data.Size)
Log(meta.Size)
End Sub
'First run your MySQL query using QueryASync and set your TaskID
MySQLExe.QueryASync("SELECT * FROM ????", "Login") 'Set your TaskID. 'Login' = TaskID
'Second get your filtered TaskID results using the meta Map
Sub Query_QueryResult(data As List, meta As Map)
Select meta.Get("TaskID") 'Get the TaskID
Case "No"
Log("No")
Case "No Way"
Log("No Way")
Case "Login" ''Login' is the TaskID
Log("Login") ''Login' is now in the logs tab
Case "Hell No"
Log("Hell No")
End Select
End Sub
I'm coming back to this lib and i'm wondering how to do INSERT , UPDATE ,and DELETE ???
ExecuteASync ("DELETE FROM ....")
ExecuteASync ("UPDATE table SET ...")
ExecuteASync ("INSERT INTO table SET ...")
i try to update my libraries this week to implement Tasks for each methodOk thanks but i'm awaiting task id's and nonqueries feedback ...
i DID upload the files to my dropbox. But it does not happen automatically.s the dropbox automatically updated ???
You should post the error log while debugging.unfortunately app has stopped.
I´m not sure if the library and/or the native connector will work with this b4a-version.I am using basic4android 2.47
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?