Answer the question
In order to leave comments, you need to log in
Why does the QSqlQuery::value: not positioned on a valid record error occur?
There is this code:
static unsigned CountUpload = 0;
// получаем данные из БД
Query.exec("SELECT * FROM Channels LIMIT 10 OFFSET " + static_cast<QString>(10 * CountUpload));
// увеличиваем счетчик сделанных запросов
CountUpload++;
Query.next();
qDebug() << Query.value(0).toString();
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question