Results 1 to 3 of 3

Thread: sometimes the QSqlRelationalTableModel can not save data to database

  1. #1
    Join Date
    Jul 2008
    Posts
    33
    Thanks
    7
    Qt products
    Qt4
    Platforms
    Windows

    Default sometimes the QSqlRelationalTableModel can not save data to database

    hi
    I use QSqlRelationalTableModel to display data in the QTableView,but I noticed that sometimes the data cannot be saved to the database after I update it ,sometimes it works ok,
    why? Is it a bug of QT ,or my mistake?
    QT4.3.4

  2. #2
    Join Date
    Mar 2008
    Posts
    141
    Thanks
    10
    Thanked 9 Times in 9 Posts

    Default Re: sometimes the QSqlRelationalTableModel can not save data to database

    Hi,

    which database and do you use AutoSubmit/..?

  3. #3
    Join Date
    Jul 2008
    Posts
    33
    Thanks
    7
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: sometimes the QSqlRelationalTableModel can not save data to database

    oracel
    I use submitall

Similar Threads

  1. Replies: 15
    Last Post: 27th May 2008, 01:46
  2. Replies: 5
    Last Post: 8th April 2008, 23:10
  3. How can I save a QImage object into a SQLite3 database table?
    By danielperaza in forum Qt Programming
    Replies: 1
    Last Post: 27th March 2008, 05:39
  4. speed of setdata - lots of items in treeview
    By Big Duck in forum Qt Programming
    Replies: 4
    Last Post: 6th July 2006, 12:53
  5. Save images to database
    By jnk5y in forum Qt Programming
    Replies: 4
    Last Post: 8th May 2006, 19:56

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.