Well,
All my SQL querries are create in function
void sql_functions::exec
void sql_functions::exec
To copy to clipboard, switch view to plain text mode
Querries result are store in a structure, and others function can used this value to get back request values with
while s_req->data.next()
result = s_req->data.value(0).toString();
QString result;
while s_req->data.next()
result = s_req->data.value(0).toString();
To copy to clipboard, switch view to plain text mode
I only clear the querry in the begining of the function.
Bookmarks