E erdemirerkan Member Licensed User Longtime User Mar 21, 2012 #1 Hi, My english is not very well. Firstly full i apologize from my english I want to count items from my table using Basic4Android Interface I use MYSQL. I wrote this code Button Click. Dim cuser As String cuser=tuser.Text ' tuser (Editable Text) ExecuteRemoteQuery("SELECT count(*) FROM user where username='"&cuser&"'", 1) I want to ask you How can i take items' count from ResponseSuccess section? What do i write to ResponseSuccess section ? Thanks Erkan
Hi, My english is not very well. Firstly full i apologize from my english I want to count items from my table using Basic4Android Interface I use MYSQL. I wrote this code Button Click. Dim cuser As String cuser=tuser.Text ' tuser (Editable Text) ExecuteRemoteQuery("SELECT count(*) FROM user where username='"&cuser&"'", 1) I want to ask you How can i take items' count from ResponseSuccess section? What do i write to ResponseSuccess section ? Thanks Erkan
Erel B4X founder Staff member Licensed User Longtime User Mar 21, 2012 #2 You should handle the result in hc_ResponseSuccess: http://www.b4x.com/forum/basic4andr...ndroid-mysql-database-tutorial.html#post46745 Upvote 0
You should handle the result in hc_ResponseSuccess: http://www.b4x.com/forum/basic4andr...ndroid-mysql-database-tutorial.html#post46745