S Stephenz43 Member Licensed User Longtime User Apr 13, 2016 #1 Hi... Having a problem with RDC... Upgraded b4a from a older version and started receiving this error : "com.microsoft.sqlserver.jdbc.SQLServerException: A result set was generated for update." Ive been using RDC for awhile on a older version of B4A and never saw this error... Anyone point me in the right direction ? Sub Activity_Create(FirstTime As Boolean) 'Do not forget to load the layout file created with the visual designer. For example: Activity.LoadLayout("Main2") reqManager.Initialize(Me, "http://192.168.1.100:17900") Dim xpara As String xpara = "10" Dim cmd As DBCommand cmd.Initialize cmd.Name = "select_stuff" cmd.Parameters=Array As Object(xpara) reqManager.Executecommand(cmd, "tag") End Sub Thanks ~stephen Last edited: Apr 13, 2016
Hi... Having a problem with RDC... Upgraded b4a from a older version and started receiving this error : "com.microsoft.sqlserver.jdbc.SQLServerException: A result set was generated for update." Ive been using RDC for awhile on a older version of B4A and never saw this error... Anyone point me in the right direction ? Sub Activity_Create(FirstTime As Boolean) 'Do not forget to load the layout file created with the visual designer. For example: Activity.LoadLayout("Main2") reqManager.Initialize(Me, "http://192.168.1.100:17900") Dim xpara As String xpara = "10" Dim cmd As DBCommand cmd.Initialize cmd.Name = "select_stuff" cmd.Parameters=Array As Object(xpara) reqManager.Executecommand(cmd, "tag") End Sub Thanks ~stephen
Erel B4X founder Staff member Licensed User Longtime User Apr 14, 2016 #2 You need to call reqManager.ExecuteQuery if this is a query. Upvote 0
S Stephenz43 Member Licensed User Longtime User Apr 14, 2016 #3 thank you... that was the solution Upvote 0