ConnectDialog strange behaviour
Posted: Wed 18 Feb 2015 12:25
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!
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!