QSqlQuery and QCheckBox



  • Hello!

    Just started off a small testprogram for running queries to an SQL server.
    Was planning on using checkboxes to add and remove what i want i the query.

    So when i push the Query button it will collect the states of my checkboxes.
    If checked it will add a value to SELECT else leave out empty combine the other to a string and add that to the query.

    Wich method should i use to solve this the best way ?

    Kind regards!


  • Lifetime Qt Champion

    Hi and welcome to devnet,

    Do you mean something like a query string builder ?


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.