PDA

View Full Version : Refresh QSqlRelation



Banjo
26th June 2009, 01:56
Hello
How do I refresh a QSqlRelation without refreshing the entire QSqlRelationalTableModel?

I want to allow a user to edit a QSqlRelationalTableModel including adding another record to one of its QSqlRelations.

Thanks in advance.

Banjo
15th July 2009, 03:34
Is anyone able to help me with this ??

vpara
23rd April 2010, 15:54
and me... :(

pasko
23rd May 2018, 11:39
I see the thread is old, but i post the answer none the less.

myModel->relationModel(keyColumn)->select();