Thanks for trying to help.
--
View this message in context:
http://python.6.n6.nabble.com/How-can-i-update-QSqlRelationalTableModel-tp4984662p4984716.html
Sent from the PyQt mailing list archive at Nabble.com.
___
PyQt mailing listPyQt@riverbankco
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
htt
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.
--
View this message in context:
http://python.6.n6.nabble.com/How-can-i-update-QSqlRelationalTable
On 10/08/12 23:43, engdarkman89 wrote:
> Hi,
>
> I will try to explain the problem with the following scenario:
>
> Suppose we have two tables A and B, table B has a Foreign key column from A
> and we applied QSqlRelation to that column, now we insert/update a row in
> table A.
> The problem is t
Hi,
I will try to explain the problem with the following scenario:
Suppose we have two tables A and B, table B has a Foreign key column from A
and we applied QSqlRelation to that column, now we insert/update a row in
table A.
The problem is that the QSqlRelation still see the old A table, how can