Hi,
sorry for my bad english! The submit fails not directly, mapper->submit() is true.
The question is, how can i write back the values to my database?
Can you help me please?
Thanks in advance.
Hi,
sorry for my bad english! The submit fails not directly, mapper->submit() is true.
The question is, how can i write back the values to my database?
Can you help me please?
Thanks in advance.
Ah!
The documentation of QSqlQueryModel says: "The model is read-only by default. To make it read-write, you must subclass it and reimplement setData() and flags()."
Cheers,
_
Bookmarks