Patch level : 12.00 1264

Files correlati     : lv0.exe lv2.exe
Commento            :
Invio postino con ODBC
This commit is contained in:
Alessandro Bonazzi 2023-06-05 22:31:06 +02:00
parent b901226610
commit 604e540268

View File

@ -88,6 +88,7 @@ void TAutogiro_app::main_loop()
{ {
TProgress_monitor pi(contratti.items(), title()); TProgress_monitor pi(contratti.items(), title());
bool modified = false;
for (bool ok = contratti.move_first(); pi.addstatus() && ok; ok = contratti.move_next()) for (bool ok = contratti.move_first(); pi.addstatus() && ok; ok = contratti.move_next())
@ -132,8 +133,14 @@ void TAutogiro_app::main_loop()
} }
else else
send_transaction(pasplan.curr(), TRANSACTION_INSERT); send_transaction(pasplan.curr(), TRANSACTION_INSERT);
modified = true;
} }
} }
if (!modified)
{
pasplan.first();
send_transaction(pasplan.curr(), TRANSACTION_INSERT);
}
} }
log.preview(); log.preview();
} }