Results 1 to 2 of 2

Thread: when to use QSqlRelationalTableModel?

  1. #1
    Join Date
    Apr 2010
    Location
    Singapore
    Posts
    156
    Thanks
    47
    Qt products
    Qt4
    Platforms
    Windows

    Default when to use QSqlRelationalTableModel?

    When to use QSqlRelationalTableModel?

  2. #2
    Join Date
    Jan 2006
    Location
    Germany
    Posts
    4,380
    Thanks
    19
    Thanked 1,005 Times in 913 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows Symbian S60
    Wiki edits
    5

    Default Re: when to use QSqlRelationalTableModel?

    Quote Originally Posted by babygal View Post
    When to use QSqlRelationalTableModel?
    Everytime you want join two tables though a forign key. See the exaples in the documentation for further informations.

Similar Threads

  1. using QSqlRelationalTableModel opposite of the example
    By scarleton in forum Qt Programming
    Replies: 4
    Last Post: 8th June 2010, 05:17
  2. QSqlRelationalTableModel
    By marvin in forum Newbie
    Replies: 2
    Last Post: 19th November 2008, 22:29
  3. QSqlRelationalTableModel setQuery
    By RolandHughes in forum Qt Programming
    Replies: 3
    Last Post: 15th November 2008, 07:59
  4. how to add sub table to QSqlRelationalTableModel
    By SunnySan in forum Qt Programming
    Replies: 1
    Last Post: 30th July 2008, 12:05
  5. QSqlRelationalTableModel
    By jjay in forum Qt Programming
    Replies: 1
    Last Post: 20th February 2008, 16:20

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.