Quote Originally Posted by ak View Post
QSqlRelationalTableModel overrides completely all foreign keys with their values and i get record with values already resolved...
So use the relation model and check the index yourself. What do you need it for anyway? What's the point in hiding foreign keys if you want to access them later on?

Qt coding is not so fun in this place...
Hmm... You ask Qt for a car and you are complaining it gave you a car instead of a bicycle?