I'm using ConnectDialog for the first time and run into a problem.
On runtime I read the connect - parameters (Server, SID, Port) from an ini-file.
I set these informations to the TORASession. Afterwards (if username and password
was not provided by some Commandline-parameters) I set Loginprompt:=true and the Connectdialog pops up. Okay so far... but the connectDialog doenst have the (new) server-information but the one I use during design-time. What went wrong?
If I provide username / password via command line - parameter there is no use of the connect-dialog (Loginpromt:=false). The program connets to the right (what was stored in the ini) Database.
Help plz!
ConnectDialog strange behaviour
Re: ConnectDialog strange behaviour
Hello,
To implement such behavior, you should set the StoreLogInfo property to False.
To implement such behavior, you should set the StoreLogInfo property to False.
Code: Select all
OraSession1.Server := 'localhost:1521/orcl';
ConnectDialog1.StoreLogInfo := False;
ConnectDialog1.Execute;