I follow the tutorial and can't understand where I'm wrong
Code is running on a B4J/MySql server that need to ask data to another B4J/MySql server.
B4J 6.30
Tried both in debug and release
This works:
I have the JobDone event and I can see the result
But this one should be better
Remote server receives the query, but I never have the JobDone event. Why ?
Code is running on a B4J/MySql server that need to ask data to another B4J/MySql server.
B4J 6.30
Tried both in debug and release
This works:
B4X:
Dim req As DBRequestManager = CreateRequest
Dim cmd As DBCommand = CreateCommand("GetCredit", Null)
req.ExecuteQuery(cmd, 0, "tag1")
wait for jobdone(j As HttpJob)
If J.Success = True Then
I have the JobDone event and I can see the result
But this one should be better
Remote server receives the query, but I never have the JobDone event. Why ?
B4X:
Dim req As DBRequestManager = CreateRequest
Dim cmd As DBCommand = CreateCommand("GetCredit", Null)
Wait For (req.ExecuteQuery(cmd, 0, "tag1")) JobDone(j As HttpJob)
If J.Success = True Then