Patch level : 12.0 no-patch
Commento : Aggiunto controllo connessione database fp
This commit is contained in:
parent
73e3b23e3c
commit
e3514136c3
@ -248,9 +248,14 @@ void TParametri_ditta::main_loop()
|
|||||||
{
|
{
|
||||||
pm.save_all();
|
pm.save_all();
|
||||||
message_box("Dati salvati correttamente!");
|
message_box("Dati salvati correttamente!");
|
||||||
|
s.sq_disconnect();
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
error_box("Connessione a database non riuscita!");
|
{
|
||||||
|
TString msg = "Connessione a database non riuscita!\n";
|
||||||
|
msg << s.sq_get_string_error();
|
||||||
|
error_box(msg);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user