What are the consequences of Exiting / Closing of a system without closing the database tables? Does it detract from anything in the database?
Should I close the system tables or not?
procedure TfrmTelaPrincipal.EncerraSistema;
begin
Beep;
if Application.MessageBox('Deseja Realmente Encerrar o Sistema?','Pergunta',
MB_YESNO+MB_ICONQUESTION+MB_DEFBUTTON2) <> IDNO then
begin
ReciclarLixoDeSistema;
DMGeral.tbParametros.Edit;
DMGeral.tbParametrosNUMERO_ESTACOES_LOGADAS.AsInteger := DMGeral.tbParametrosNUMERO_ESTACOES_LOGADAS.AsInteger-1;
DMGeral.tbParametros.Post;
MinimizarClick(Self);
frmTelaPrincipal.Close;
end;
end;
I use the client / server structure and the database stays on the server and my connection component is FireDAC / p>