Subject | Re: TIB_Connection settings |
---|---|
Author | paulhope@allcomm.co.uk |
Post date | 2001-01-15T22:42:39Z |
bernard
I'm not not sure if this is entirely what you want - but this is what
I do. It is a solution which allows the network users to select a
database from a common server based list.
The client registry contains the path to an INI file on the server.
When the app starts if the registry entry is missing or the file
cannot be found a simple Open Dialog is used to locate it and make
the registry entry.
The INI file has a list of databases if the form of 'Display
Name',path,background colour - etc. The Display Names are presented
to user in a drop down box. Of course 'path' defines the protocol in
my case. Because the file is server based I can easily maintain it
remotely.
Hope that helps
Regards
Paul
I'm not not sure if this is entirely what you want - but this is what
I do. It is a solution which allows the network users to select a
database from a common server based list.
The client registry contains the path to an INI file on the server.
When the app starts if the registry entry is missing or the file
cannot be found a simple Open Dialog is used to locate it and make
the registry entry.
The INI file has a list of databases if the form of 'Display
Name',path,background colour - etc. The Display Names are presented
to user in a drop down box. Of course 'path' defines the protocol in
my case. Because the file is server based I can easily maintain it
remotely.
Hope that helps
Regards
Paul
> I would like to have the possibility to load the TIB_Connection
> settings
> (Path,Server,Protocol) at runtime , according to the location (and
> name) of
> the database decided by the customer.
>
> I used with BDE to use the alias for this job .
>
> Do you have a solution so that each workstation could have its own
> settings for TIB_CONNECTION and the possibility to change them on
> the fly to disconnect from one database to connect to another one ?