Results 1 to 3 of 3

Thread: QMYSQL3: Unable to fetch data

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Nov 2009
    Posts
    2
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: QMYSQL3: Unable to fetch data

    I did, and still get the same error. I tried and insert statement like:
    Qt Code:
    1. query.exec("INSERT INTO person(id,firstname,lastname) VALUES(2,'John','Smith')");
    To copy to clipboard, switch view to plain text mode 
    and it works fine.

    But when I try:
    Qt Code:
    1. query.exec("SELECT id,firstname,lastname FROM person");
    To copy to clipboard, switch view to plain text mode 

    I still get the error:
    QMYSQL3: Unable to fetch data
    I really need help on this.
    Last edited by crystlrain; 11th November 2009 at 07:43.

Similar Threads

  1. QMYSQL3: Unable to bind outvalues
    By sirguyon in forum Qt Programming
    Replies: 8
    Last Post: 19th November 2009, 09:23
  2. How to Compile VTKDesigner2 with Qt?
    By alfredoaal in forum Newbie
    Replies: 0
    Last Post: 5th September 2008, 05:34
  3. Unable to fetch data when searching through select query
    By sinha.ashish in forum Qt Programming
    Replies: 3
    Last Post: 10th April 2008, 14:06
  4. KDE/QWT doubt on debian sarge
    By hildebrand in forum KDE Forum
    Replies: 13
    Last Post: 25th April 2007, 06:13
  5. QSQLITE Unable to fetch row in create
    By xgoan in forum Newbie
    Replies: 3
    Last Post: 18th October 2006, 14:39

Tags for this Thread

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.