Using an old Xojo version before, today i must use DatabaseRecord for be able to use some row.
Ok so, now this is almost the same thing like PHP.
Ok, i have understood how to insert a record in my database.
But before, i used a simple MySQL request like this for making update:
r = db.SQLSelect("UPDATE `guest` SET `first_name` = '"+Prenom.Text+"' , .../....WHERE `id` = '"+Session.id_guest+"'; )
Because sure, i need to making update only for the record id. “Update… Where id = x”
I don’t understand how to do it?
You talking about r.update, ok but how to update only the record id?
As db.InsertRecord(table,row) is perfect to making insert.
i expected to have this kind of tool : db.Update(table, row, condition).
Today, this way doesn’t work because it refuses any webtextfield values inside the request.
This way was simple and efficient.
Could you explain me how it should work now?