Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
QSqlQuery and QCheckBox
SidewayZ last edited by
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 ?
Hi and welcome to devnet,
Do you mean something like a query string builder ?