Using Unidac for multiple database connections
Posted: 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
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