Hi,

I'm currently busy with a SQLite database, and I have a question.

I have two tables, clients and orders, the orders table has to be populated in the QSqlRelationalTableModel. But the client information has to be added to the row.

So the first thing I did was is setRelation(clientId, "cid", "First Name"); (with clientId as columnIndex from the orders table) and it works, but I need more client information than the first name.

How can I solve such a problem?

Kind regards,

Marcel Boersma