Results 1 to 6 of 6

Thread: Updating SQL Database from QTableView

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jun 2010
    Posts
    4
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Updating SQL Database from QTableView

    I figured it out. When adding rows (at least from my tests) you have to set data for all fields even if you initially want them blank to fill in later.

  2. #2
    Join Date
    May 2009
    Location
    USA
    Posts
    300
    Qt products
    Qt4
    Platforms
    Windows
    Thanks
    82
    Thanked 11 Times in 11 Posts

    Default Re: Updating SQL Database from QTableView

    Great - glad you got it working. I never had the problem since my rows are always populated when created.

Similar Threads

  1. QTableView top row not updating
    By murrekatt in forum Newbie
    Replies: 4
    Last Post: 3rd March 2010, 15:50
  2. updating QTableView with new qsl columns
    By sylvainb in forum Qt Programming
    Replies: 2
    Last Post: 28th January 2009, 21:51
  3. Updating a data in QTableView question
    By MarkoSan in forum Qt Programming
    Replies: 5
    Last Post: 6th June 2008, 12:45
  4. updating database with custom delegate
    By Shaitan in forum Qt Programming
    Replies: 4
    Last Post: 17th July 2007, 11:34
  5. updating database
    By locus in forum Qt Programming
    Replies: 3
    Last Post: 27th January 2007, 06:54

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
  •  
Qt is a trademark of The Qt Company.