Hello,

I am trying to modify a QSqlRecord in a QSqlRelationalTableModel but it does not work.

If I do so and read the data after, I still obtain the old value.

Qt Code:
  1. model->record(i_model).setValue("param1", QVariant("TEST"));
  2. cout << model->record(i_model).value("param1").toString().toStdString() << "\n"
To copy to clipboard, switch view to plain text mode 

If I try the example above, the second line displays the previous value instead of "TEST".

Thank you.