[PyQt] How can i update QSqlRelationalTableModel

Linos info at linos.es
Sat Aug 11 10:58:47 BST 2012


On 11/08/12 11:14, engdarkman89 wrote:
> Thanks for taking the time to replay.
> 
> I tried to call myRelationalTableModel.relationModel(columnIndex).select()
> after saving changes to table A, but it doesn't solve the problem.
> 
> Any thoughts.
> 
> 

I have found the problem and a workaround
http://lists.qt.nokia.com/pipermail/qt-interest/2010-May/023832.html

i have any sql classes constructed above QSqlQueryModel to get more
functionality that QSqlRelationalTableModel brings but i though that was the way
to update the internal model, sorry.

Regards,
Miguel Angel.



More information about the PyQt mailing list