Commit cf84fcec authored by Sandro Camata Santana's avatar Sandro Camata Santana

Ajuste para utilizar função listar DSN multiplataforma

parent 80a94596
...@@ -37,7 +37,7 @@ type ...@@ -37,7 +37,7 @@ type
implementation implementation
uses strUtils, odbc_dsn_win, acuObject, utuFactory; uses acuQuerySQLODBC, strUtils, acuObject, utuFactory;
{$R *.dfm} {$R *.dfm}
...@@ -73,7 +73,9 @@ end; ...@@ -73,7 +73,9 @@ end;
procedure TDataBaseLogin.cbODBCD_DSNChange(Sender: TObject); procedure TDataBaseLogin.cbODBCD_DSNChange(Sender: TObject);
begin begin
edtUsuario.Text := GetDSNLastUser(cbODBCD_DSN.Text); {$IFDEF MSWINDOWS}
// edtUsuario.Text := GetDSNLastUser(cbODBCD_DSN.Text);
{$ENDIF}
edtPassword.Text := ''; edtPassword.Text := '';
end; end;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment