When I run
stSql = "INSERT INTO `labels` (`NoSAP`) VALUES ("+SAPnr+")"
oResult = oSQL_Command.executeUpdate(stSql)
on a mariadb database a record will be inserted with the correct value stored in variable SAPnr, but right after that I receive an error “Object not accessible. Invalid use of an object”
What is going wrong??