Patch level : 12.00 1262

Files correlati     :
Commento            :
Invio postino con ODBC
This commit is contained in:
Alessandro Bonazzi 2023-06-02 02:36:34 +02:00
parent 9c88c8b896
commit c74818a0c6

View File

@ -572,7 +572,7 @@ HIDDEN bool popolate_table(TODBC_recordset & recset, int logicnum, const char *
err = recset.exec(statement);
}
if (err <= 0)
error_box(FR("Errore n. %d invio file %d"), logicnum, err);
error_box(FR("Errore n. %d invio file %d"), -err, logicnum);
}
return ok;
}
@ -714,7 +714,7 @@ HIDDEN void odbc_send(const TString & dsn, int num, TAuto_token_string & elab_fi
err = recset.exec(statement);
}
if (err <= 0)
error_box(FR("Errore n. %d invio file %d"), curr_file_num, err);
error_box(FR("Errore n. %d invio file %d"), -err, curr_file_num);
else
recset.exec("COMMIT;");
}