PDA

View Full Version : QSqlTableModel showing view



aekilic
15th April 2010, 16:28
Dear All

I have a QSqlTableModel, showing a view in a SQL.

This is the story.

Users opens a widget see the table (like id=1),
Users opens the new widget see table with different search (like id=2)
Sorts the table with id = 2
Sorts the table with id = 1
both table becomes the same model. This is because we use create and replace view, Is there a way to solve this?

aekilic
15th April 2010, 20:38
any solution?