You are not logged in.
When I use TSQLDBUniDACConnectionProperties to connect to an oracle instance,as following:
begin
Props:=TSQLDBUniDACConnectionProperties.Create('Oracle','10.53.2.134:1521/or10g','rkdata','rkdata');
Props.SpecificOptions.Values['Charset']:='utf8';
Props.SpecificOptions.Values['Direct']:='True';
Props.SpecificOptions.Values['UseUnicode']:='True';
conn1:=TSQLDBUniDACConnection.Create(props);
conn1.Database.LoginPrompt:=False;
conn1.Connect;
end;
When go to conn1.Connect,a connectdialog shows and ask me to input a password,then I can connect to oracle.But I whish connect silently,the information above(username,password...) is enogh,why the
connectdialog always show?
Help me! thanks in advance.
wxb_km@qq.com
2018.3.7
Offline