Dear Jiří, If no one is able to help you on this specific problem, you may try to seek help at the qt-interest mailing list. Qt Jambi is mostly a thin layer above the Qt libraries, so it should be "transferable" to a Qt problem.
Regards, Helge Fredriksen On 05/18/2010 02:03 PM, Jiří Mikulášek wrote: > Hello, > i'm trying to use relationalTableModel as described in doc and examples. > Everything is pretty simple almost the same as in example. The model has > OnFieldChange EditStrategy > However i'm not able to change the relation column value nor delete the row. > > While updating the model.lastError() gives: > QSqlError(0, "Unable to bind parameters", "The column index is out of range: > 4, number of columns: 3. (22023)") > > which is strange because the table has 4 columns (including foreign key > column) > > while deleting (using model.removeRows()) it gives: > QSqlError(0, "Unable to execute query", "ERROR: column "surname" does not > exist (42703)") > > the "surname" is displayColumn of QSqlRelation :( > > Please can someone give me an advice what could be wrong, or how to > investigate the problem deeply (for instance how to debug into code). > > Using 4.5.2_01 still because the newest distro for linux doesn't contain a > designer binary ;-) > > Regards > > Jiri Mikulasek > > AURA, s.r.o. Czech Republic > _______________________________________________ > Qt-jambi-interest mailing list > [email protected] > http://lists.trolltech.com/mailman/listinfo/qt-jambi-interest > _______________________________________________ Qt-jambi-interest mailing list [email protected] http://lists.trolltech.com/mailman/listinfo/qt-jambi-interest
