Hi there,
I cannot believe this is taking me forever to figure it out, basically I am trying to insert a new record to the table using RDC.
So in my config.properties I have the following
sql.insert_record=INSERT INTO CountRecordsCustomers (SalonId,CountedRec) VALUES(?,?)
then in my code I have :
The above works fine, but if I add a new column to the table, it won't work any more (The requested URL was not found on this server). It seems like I need to include the new column there in the query, but if this is a SQL command I only should pass what I want to insert in the table without adding the new column to the command.
Is there a way to do so?
Thanks
I cannot believe this is taking me forever to figure it out, basically I am trying to insert a new record to the table using RDC.
So in my config.properties I have the following
sql.insert_record=INSERT INTO CountRecordsCustomers (SalonId,CountedRec) VALUES(?,?)
then in my code I have :
B4X:
Dim cmd1 As DBCommand
cmd1.Initialize
cmd1.Name = "insert_record"
cmd1.Parameters = Array As Object(dSalon, "1")
DBrequestmanager1.ExecuteCommand(cmd1, "")
The above works fine, but if I add a new column to the table, it won't work any more (The requested URL was not found on this server). It seems like I need to include the new column there in the query, but if this is a SQL command I only should pass what I want to insert in the table without adding the new column to the command.
Is there a way to do so?
Thanks