config file
sql.logins = SELECT count(*) as idcount FROM b4x_users;
------
Sub Getcount
Dim req As DBRequestManager = CreateRequest
Dim cmd As DBCommand = CreateCommand("logins", Null)
Wait For (req.ExecuteQuery(cmd, 0, Null)) JobDone(j As HttpJob)
If j.Success Then
req.HandleJobAsync(j, "req")
Wait For (req) req_Result(res As DBResult)
'work with result
req.PrintTable(res)
Log("---")
Else
Log("ERROR: " & j.ErrorMessage)
End If
j.Release
end sub
----------
log
Tag: null, Columns: 1, Rows: 1
idcount
4
my requirment
result =4
I want this output in text box
txt_idcount.text=4 ?????????????????