Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Using Qsqlrelation and Qsqlrelationalmodel to edit foreign table data



  • hello everyone!!!!

    i have two database tables.... table 1 has a foreign key referencing table 2, i know how to edit table 1 data but, what about table 2 ?...

    can i use Qsqlrelation and Qsqlrelationalmodel to edit foreign table data? if so, i'll appreciate a hint....

    thanks a lot !!!!!


Log in to reply