ConnectionDialog Options

Discussion of open issues, suggestions and bugs regarding UniDAC (Universal Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
Kondzie
Posts: 1
Joined: Tue 09 Jul 2019 09:57

ConnectionDialog Options

Post by Kondzie » Tue 16 Jul 2019 07:06

Helo there,

i wonder if there is a possibility to change options while runtime?
Like the design time "wizard", where u can change connect options like "Authentication".
If u want to connect to a Database, for example SQL Server, and u want to login with WindowsAuthentication, i got an exception "wrong User ID 'sa'".
Hope u understand my problem.

greetings Kondzie
Last edited by Kondzie on Wed 17 Jul 2019 07:43, edited 1 time in total.

Stellar
Devart Team
Posts: 496
Joined: Tue 03 Oct 2017 11:00

Re: ConnectionDialog Options

Post by Stellar » Tue 16 Jul 2019 13:53

You can find the demo project in the "%UniDACDemos%\" directory. "%UniDACDemos%" is a path to the installed demo projects on your computer.
On the ConnectDialog tab, you can find an example of the creation of a custom DB Connection dialog. Using this example, you can add a selection of authentication methods to the connection dialog on your own. We intentionally distribute TUniConnectDialog with source code so that the users can change it according to their needs.

Post Reply