Results 1 to 2 of 2

Thread: Help needed in QSqlReleationTablemodel

  1. #1
    Join Date
    Sep 2010
    Posts
    4
    Qt products
    Qt4
    Platforms
    Symbian S60

    Default Help needed in QSqlReleationTablemodel

    Hi,

    I am new to Qt. I have successfully created a database table using QSqlRelationTablemodel also able to view the table.My requirement is to get the row number by giving the field name which is present in that row .can you pls help me, how to do that? If possible pls give me the code snippet also.

    Thanks & Regards,
    Raju

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

    Default Re: Help needed in QSqlReleationTablemodel

    One quick look in the docs would have told you: QAbstractItemModel::match() or use a QSortFilterProxyModel depending what you want to achieve exactly.

Similar Threads

  1. help needed....
    By rick_st3 in forum Installation and Deployment
    Replies: 4
    Last Post: 12th September 2008, 23:57
  2. help needed
    By swamyonline in forum Newbie
    Replies: 2
    Last Post: 8th June 2008, 03:37
  3. Hi all +Help is needed :):o
    By Gily in forum Newbie
    Replies: 3
    Last Post: 18th December 2007, 16:03
  4. Help needed
    By rohitjun in forum Qt Programming
    Replies: 3
    Last Post: 11th May 2007, 11:39
  5. help needed regarding QWT
    By skatakam in forum Qwt
    Replies: 1
    Last Post: 21st March 2006, 12:47

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.