[Qt-interest] Saving changes in a QSqlRecord

Timothy Reaves treaves at silverfieldstech.com
Sat Dec 12 04:12:10 CET 2009


On Dec 11, 2009, at 8:37 PM, Scott Aron Bloom wrote:

> Once you get the record, its completely isolated from the model...
> 
> You can change it all you want, and the  model has no idea.
> 
> The step you are missing, 
> tableModel->setRecord( idx, record ); // or something like that
> 
> then do the submitAll

	That was what I was missing.  Thanks much!



More information about the Qt-interest-old mailing list