Patch level : 12.00 1262

Files correlati     :
Commento            :
nvio postino con ODBC
This commit is contained in:
Alessandro Bonazzi 2023-05-28 12:10:49 +02:00
parent 15961f4046
commit 850dbf6978
3 changed files with 25 additions and 9 deletions

View File

@ -1109,6 +1109,9 @@ void TManutenzione_app::recover()
close_history();
#ifdef DBG
if (!is_power_station() || ini_get_bool(CONFIG_GENERAL, "Main", "test_send_xml"))
#endif
send_campo_xml(); // Spedisce situazione via ftp
}
@ -1525,6 +1528,9 @@ void TManutenzione_app::update()
reset_converting();
close_history();
#ifdef DBG
if (!is_power_station() || ini_get_bool(CONFIG_GENERAL, "Main", "test_send_xml"))
#endif
send_campo_xml(); // Spedisce situazione via ftp
}

View File

@ -436,9 +436,19 @@ TFilter_expr::TFilter_expr(TAutomask& m, int logicnum, const char* expr)
{
const TFieldref f(name, 0);
int num = table2logic(f.id());
if (num > 0)
{
const TRectype join(num);
ok = join.exist(f.name());
}
else
{
error_box(FR("Tabella %s inesistente"), (const char *)f.name());
return;
}
}
if (!ok)
{
_error = 883;

View File

@ -196,13 +196,13 @@ BEGIN
ITEM "File"
ITEM "OP@2"
ITEM "Filtro@64"
ITEM "ODBC Files@64"
ITEM "ODBC tables@64"
GROUP G_SUPERUSER
FLAGS "|"
END
ENDPAGE
ss
PAGE "Script" 0 0 0 -2
SPREADSHEET F_SCRIPTS 0 -1
@ -378,7 +378,7 @@ END
STING F_FILES 60
BEGIN
PROMPT 1 3 "ODBC files"
PROMPT 1 3 "ODBC tables "
END
MEMO F_EXPR 60 -3