Results 1 to 4 of 4

Thread: Export data

  1. #1
    Join Date
    Apr 2012
    Posts
    39
    Thanks
    7

    Exclamation Export data

    Hello

    Is there any function or something of the genre that allows export my database to an external file? For example a. Csv file?

    I know there are functions to export data but I wanted something to export table to table or database at once.


    Regards,
    Daniel Sousa

  2. #2
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: Export data

    From a Qt program with out-of-the-box libraries? No.

  3. #3
    Join Date
    Apr 2012
    Posts
    39
    Thanks
    7

    Default Re: Export data

    Quote Originally Posted by ChrisW67 View Post
    From a Qt program with out-of-the-box libraries? No.
    QI received not what you want to say ...

  4. #4
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: Export data

    Hi Daniel,

    I am not sure what you last post means. Maybe it means you did not understand me.

    Using only Qt libraries there are no methods to export whole SQL tables to file in any format. You have to write that yourself. It can be fairly simple, or very complex, depending on the data and whether it needs to be able to accept any table or just known tables.

Similar Threads

  1. Replies: 16
    Last Post: 28th April 2020, 14:40
  2. How to export data from QSql classes to XML format
    By behrouz in forum Qt Programming
    Replies: 2
    Last Post: 29th June 2010, 16:04
  3. how to export data to a .CSV file
    By qtprgrmr in forum Qt Programming
    Replies: 1
    Last Post: 26th May 2010, 16:22
  4. How to export data from QTableView to Ms Excell
    By joseph in forum Qt Programming
    Replies: 2
    Last Post: 19th February 2009, 14:19
  5. Replies: 3
    Last Post: 12th June 2008, 11:59

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.