Changes to the model is not applied to the database.



  • After setting up a table model in the following code:
    http://codepad.org/nAUt68p1

    changes to the model is not applied to the database.

    In eric python IDE(In other IDE may not found this error),after edited the data item,it shows the following error:
    @
    QSqlQuery::value: not positioned on a valid record
    @

    anyone can help me fix this problem ?thanks !


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.