Android Question SQLite, ExecNonQueryBatch with WaitFor; missing SQL_QueryComplete

leitor79

Active Member
Licensed User
Longtime User
Hi,

I have the following code snippet (in the Starter service):



However, when I run it, I get an exception:



As I see, "sql_querycomplete" is missing. It's odd since the executenonquerybatch tooltip suggest the "nonquefycomplete" (and makes sense). So, I try changing the code to the one missing:



and now, when I run the app, I get an exception too:



I'm kinda confused...

Thank you very much!
 

leitor79

Active Member
Licensed User
Longtime User
Hi Erel, thank you for your answer.

I can't reproduce the error. I mean; I uncommented the section (which I've replaced with begintransaction and endtransaction) but now it's working fine (!?). I'll get back here if it happens again.

Thank you for your answer!
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…