B4J Question SQL and Async Query

Swissmade

Well-Known Member
Licensed User
Longtime User
Hi,
Search the forum I can not find what I need.

I like to use ExeCQueryAsync.
Now I miss the option to also make use of a Taskid.
This is not possible here or I miss something.
SQLRespond_querycomplete(Success As Boolean, RS As ResultSet)

Something like this
B4X:
SQLDB.ExecQueryAsync("SQLRespond", strMYSQL, Null, Task)
Sub SQLRespond_querycomplete(Success As Boolean, RS As ResultSet, Taskid as Int)
  Select TaskId
    Case .....
    do something
  End Select
End Sub

Any help here will be nice.
Thanks
 

Swissmade

Well-Known Member
Licensed User
Longtime User
Stupid off me have not think off this.
Many thanks Erel
 
Upvote 0
Top