Good day colleagues.
I am working with RDC, but when trying to insert some data to my MySQL I mark the following error:
My query is this;
My code is this:
I am working with RDC, but when trying to insert some data to my MySQL I mark the following error:
B4X:
java.sql.SQLException: Can not issue data manipulation statements with executeQuery().
My query is this;
B4X:
sql.insert_RDC=INSERT INTO TablaRDC(nombre, correo, ocupacion) VALUES (Sunday, [email protected], Programmer)
My code is this:
B4X:
Sub RInsert(Name As String)
Dim cmd As DBCommand
cmd.Initialize
cmd.Name="insert_RDC"
cmd.Parameters= Array As Object(Name)
ReqManager.ExecuteQuery(cmd, 0, Null)
end sub