Simone ha scritto:
The relations, also, are right because in the rest of the program I'm
writing, I have a QTableView that shows correctly the description of the
foreing key.
I answer to myself: it's my error (any doubt? :D )
Simply the filter field has a duplicate name (the same field name
I'm experimenting problem with QSqlRelationalModel and the setFilter method.
I don't speak (write) English very well, so I made this snippet that
shows the problem.
The database has 3 tables ('tipo_documento', 'tipi' and 'causale'). The
table "tipo_documento" has the foreign key reference to