D Declan Well-Known Member Licensed User Longtime User Mar 10, 2016 #1 I am retrieving data from a remote MySQL table. All OK and fields are retrieved. This is my "JobDone" code: Code: Copy Sub JobDone(Job As HttpJob) If Job.Success = False Then Log("Error: " & Job.ErrorMessage) Else 'Retrieve "ClientName" from table "login" If Job.tag = "login" Then Dim result As DBResult = reqManager.HandleJob(Job) ProgressDialogHide For Each records() As Object In result.Rows Dim ClientName As String = records(0)'(result.Columns.get("clientname")) Msgbox(ClientName & " ","") Next End If End If Job.Release End Sub But, I receive the following error on the Android device: Code: Copy [errormessage=, httputils2service=null, jobname=DBRequest ,password=,req=anywheresoftware.b4a.http.HttpClientWrapper $HttpUrlRequestWrapper@20a32d8b, success=true , tag=login, target=class b4a.example,main, taskid=2 , username=] The filed I retrieve does display in the Msgbox(ClientName & " ","") What is the above error and how do I overcome this?
I am retrieving data from a remote MySQL table. All OK and fields are retrieved. This is my "JobDone" code: Code: Copy Sub JobDone(Job As HttpJob) If Job.Success = False Then Log("Error: " & Job.ErrorMessage) Else 'Retrieve "ClientName" from table "login" If Job.tag = "login" Then Dim result As DBResult = reqManager.HandleJob(Job) ProgressDialogHide For Each records() As Object In result.Rows Dim ClientName As String = records(0)'(result.Columns.get("clientname")) Msgbox(ClientName & " ","") Next End If End If Job.Release End Sub But, I receive the following error on the Android device: Code: Copy [errormessage=, httputils2service=null, jobname=DBRequest ,password=,req=anywheresoftware.b4a.http.HttpClientWrapper $HttpUrlRequestWrapper@20a32d8b, success=true , tag=login, target=class b4a.example,main, taskid=2 , username=] The filed I retrieve does display in the Msgbox(ClientName & " ","") What is the above error and how do I overcome this?
D Declan Well-Known Member Licensed User Longtime User Mar 10, 2016 #2 Ok, found it - I had a msgbox (for debuggibg) in the DBRequestManager module Upvote 0