Page 1 of 1

Question about TConnectDialog

Posted: Thu 28 Oct 2010 13:51
by invent
Hi,

I have a little problem with the ConnectDialog from UniDAC. We are using different databases and normally TUniConnection.LoginPrompt is false and the properties Providername, Server, Database, Username and Password are defined by the program.

For some special functions TUniConnection.LoginPrompt ist true and then TUniConnection.Connect shows the ConnectDialog.

The Problem is, that TConnectDialog show properties from the last login. For example TUniConnection.ProviderName is "InterBase" and TConnectDialog.Provider shows "Oracle". The same is for the fields Server, Database und Username.

My Question: Is there any way to give the properties from TUniConnection to TConnectDialog?

Thanks in advance and kind regards,
Gerd Brinkmann
invent GmbH

Posted: Fri 29 Oct 2010 11:17
by AlexP
Hello,

To resolve this problem you can set the UniConnectDialog.StoreLogInfo property to false.

Posted: Wed 03 Nov 2010 12:21
by invent
Hello,

thank you for this information. It was very helpful.

Kind regards,
Gerd Brinkmann
invent GmbH

Posted: Wed 03 Nov 2010 12:29
by AlexP
Hello,

It is good to see that this problem was solved. If any other questions come up, please contact us.