Android Question RDC JobDone(Job As HttpJob) Error

Declan

Well-Known Member
Licensed User
Longtime User
I am retrieving data from a remote MySQL table.
All OK and fields are retrieved.
This is my "JobDone" code:
B4X:
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:
B4X:
[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?
 
Top