Results 1 to 1 of 1

Thread: QSqlRelationalTableModel setTable syntax

  1. #1
    Join Date
    Dec 2015
    Posts
    6
    Qt products
    Qt5
    Platforms
    Windows

    Default Re: QSqlRelationalTableModel setTable syntax

    Oops

    The right syntax is :

    model->setTable("\"JB\".\"Agent\"");
    and not
    model->setTable("JB.Agent");
    Attached Images Attached Images
    Last edited by Jef; 4th December 2015 at 10:36.

Similar Threads

  1. Replies: 5
    Last Post: 28th October 2015, 21:10
  2. A variable in setTable()
    By thefatladysingsopera in forum Newbie
    Replies: 6
    Last Post: 2nd August 2011, 08:37
  3. Regarding syntax
    By Yayati.Ekbote in forum Qt Programming
    Replies: 3
    Last Post: 27th January 2010, 14:15
  4. QSqlRelationalTableModel settable unable to find
    By nietzsche in forum Qt Programming
    Replies: 0
    Last Post: 25th May 2009, 22:51
  5. Odd Syntax
    By acxdotfm in forum Qt Programming
    Replies: 2
    Last Post: 24th October 2008, 20:23

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.