Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Update: Forum Guidelines & Code of Conduct

    Unsolved Users list with database?

    General and Desktop
    2
    4
    634
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • cxam
      cxam last edited by

      Hi! My name is Carlos, i'm developing a project with Qt5.5 and I don't know how to do the following: I want to have a list where the users located in a database are shown (Over 800 users) and I want it to be able to filter the users.

      Hope you can help me.
      Carlos.

      Stay Hungry, Stay Foolish

      1 Reply Last reply Reply Quote 0
      • mrjj
        mrjj Lifetime Qt Champion last edited by mrjj

        @cxam said:

        to filter the users.

        hi and welcome
        In what way do you want to filter them ?
        normally u could do it with the SQL. simply only select the ones u want.
        http://doc.qt.io/qt-5/examples-sql.html

        1 Reply Last reply Reply Quote 0
        • cxam
          cxam last edited by

          It's a school database, I have to filter them through Course and Group (A or B)

          Stay Hungry, Stay Foolish

          mrjj 1 Reply Last reply Reply Quote 0
          • mrjj
            mrjj Lifetime Qt Champion @cxam last edited by

            @cxam
            Ok, it sounds like you can do it directly via SQL.
            http://dnndev.com/learn/guide-legacy/sql-for-beginners/filtering-data

            1 Reply Last reply Reply Quote 2
            • First post
              Last post