diff --git a/src/cppNGSD/NGSD.cpp b/src/cppNGSD/NGSD.cpp index 6d1fcc19a..372515973 100644 --- a/src/cppNGSD/NGSD.cpp +++ b/src/cppNGSD/NGSD.cpp @@ -8967,7 +8967,7 @@ void NGSD::exportTable(const QString& table, QTextStream& out, QString where_cla QSqlField escaped_statement; escaped_statement.setType(QVariant::String); - escaped_statement(field_value); + escaped_statement.setValue(field_value); db_->driver()->formatValue(escaped_statement);