I use a QTableView with a QSqlTableModel.
There is a typical "Id" table field that the user should not see, so I remove it's relative column.
But if I want to execute a query like "DELETE FROM table WHERE Id = :id" I don't have the Id because it's column has been removed.
Is there an easy and elegant solution for that ?
Bookmarks