Question about TConnectDialog

Discussion of open issues, suggestions and bugs regarding UniDAC (Universal Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
invent
Posts: 92
Joined: Tue 16 Jun 2009 10:59
Location: Bielefeld, Germany

Question about TConnectDialog

Post by invent » Thu 28 Oct 2010 13:51

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

AlexP
Devart Team
Posts: 5530
Joined: Tue 10 Aug 2010 11:35

Post by AlexP » Fri 29 Oct 2010 11:17

Hello,

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

invent
Posts: 92
Joined: Tue 16 Jun 2009 10:59
Location: Bielefeld, Germany

Post by invent » Wed 03 Nov 2010 12:21

Hello,

thank you for this information. It was very helpful.

Kind regards,
Gerd Brinkmann
invent GmbH

AlexP
Devart Team
Posts: 5530
Joined: Tue 10 Aug 2010 11:35

Post by AlexP » Wed 03 Nov 2010 12:29

Hello,

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

Post Reply