Using Unidac for multiple database connections

Discussion of open issues, suggestions and bugs regarding UniDAC (Universal Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
sholmes
Posts: 2
Joined: Mon 08 Jun 2009 13:59

Using Unidac for multiple database connections

Post by sholmes » Wed 28 Sep 2011 12:21

I have been reviewing the Unidac components as a replacement set of components for our Application as we move from Delphi 7 to Delphi 2010 and soon Delphi XE and beyond.

In the past, we have been using DBExpress, and all the alias and connection stuff was stored in two Ini files (Drivers, Connections) and was easily read from when needing to get a list of aliases and connection properties.

I have been reading the Unidac Documentation, trying to figure out how one would handle multiple database (Aliases), and to see if there was some built in storage facility for maintaining the aliases and connection properties for future connections. I have also been playing with the UniConnectDialog component and how one can change it depending on the database connecting to (Enabling and disabling features).

see DEMO: UniDacDemoForm;

and units MyConnectForm, InheritedConnectForm



Still, as far as i know there is no functionality for storing these properties and aliases. Is this correct?

A way to save and retrieve the aliases and connection properties?

Thanks for any of your help

tonymeadors
Posts: 35
Joined: Wed 28 Feb 2007 17:56

Post by tonymeadors » Wed 28 Sep 2011 13:41

Shane,

I have had sucess getting aliasapp all reworked for
the new unidac connection stuff. Better luck than expected.

BUT the real problems are starting now with all the datatypes.

I found your entry because I was getting ready to start
hitting the forum up with a dozen question.

Call if you wish to get in on this.

tonyM

AndreyZ

Post by AndreyZ » Fri 30 Sep 2011 09:53

UniDAC doesn't have functionality that allows storing and reading sets of connection options. You can leave your suggestion at our UserVoice page ( http://devart.uservoice.com/forums/1046 ... 939-unidac ), and if there are many votes for your suggestion, we will implement it. For the time being you should implement this functionality by yourself.

Post Reply