Results 1 to 2 of 2

Thread: Database

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Mar 2008
    Posts
    6
    Thanks
    3
    Qt products
    Qt4
    Platforms
    Windows

    Question Database

    Hi friends,
    I am new to this tool. I have one doubt.could u help me anybody.The problem is i created different tables in my database,How to show the multiple tables in User interface and how to compare the Date In Sqlite database.

  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: Database

    Quote Originally Posted by Tara View Post
    Hi friends,
    I am new to this tool.
    Then the forum "Newbie" would be probably better...
    I have one doubt.
    We all doubt sometimes
    could u help me anybody.The problem is i created different tables in my database,How to show the multiple tables in User interface
    Use multiple QSqlTableModel with QTableView.
    and how to compare the Date In Sqlite database.
    Sqlite has no date field like MySQL. So the best is to store the date in the UNIX time format (seconds till 1970? I never know..) and then simply use integer comparison.

Similar Threads

  1. Threads and database connection
    By probine in forum Qt Programming
    Replies: 9
    Last Post: 7th August 2013, 09:30
  2. cannot share the database connection!!!!
    By cbarmpar in forum Qt Programming
    Replies: 13
    Last Post: 23rd September 2008, 15:42
  3. Multiple database connections
    By cyberboy in forum Qt Programming
    Replies: 3
    Last Post: 30th March 2008, 17:56
  4. Database Master-Detail Entry Form
    By Phan Sin Tian in forum Newbie
    Replies: 4
    Last Post: 3rd February 2008, 15:31
  5. Filling combobox from database
    By Philip_Anselmo in forum Qt Programming
    Replies: 3
    Last Post: 11th May 2006, 18:53

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.