I have created a form that is bound to a database. The form loads properly. When I save the form, instead of updating the existing record, a new record is appended to the database.
I have tried several things:
-changing dhxForm.save() to dp.save()
-dropping the settransactionmode statement
-dropping the id parameter on the dataprocessor init
-switching between render_table and render_sql (with a built-in where clause)
I’m not sure what I’m missing. Any suggestions appreciated.
As I mentioned above, the behavior is the same whether or not I apply the id parameter to the new dataprocessor. Let’s try this another way, can you point me to a demo application that can successfully load a form from a database and then update that same record? All samples seem to use grids or xml files.
can you point me to a demo application that can successfully load a form from a database and then update that same record?
You can find working examples at your dhtmlxForm package dhtmlxForm\samples\06_data\
Get a guaranteed answer from DHTMLX technical support team
under the most suitable support plan