Subject Re: [IBO] TIB_Connection
Author Helen Borrie
At 10:14 AM 02-02-01 +0000, you wrote:
>I was wodering if you could get the path to the datebase when you're
>setting the alias to a database from the BDE?
>
>In the help file does it say that TIB_Connection only use the BDE
>alias to find the search path to the database.
>
>I can't get this to work! Can you get the path, only by putting the
>BDE Alias in the IB_Connection???


Yes, but only if you have the BDE installed on your client machine and it
has the correct server + path associated with the alias. It doesn't USE
the BDE but it needs to find your idapi.cfg file in the proper location.

It's really only useful at the time you are setting up the TIB_Connection
or TIBODatabase in the IDE - a convenience for people converting from an
existing BDE project. You shouldn't leave it there once you have the
server and path properties stored. There is no guarantee that your
deployed clients will have the alias set up, or even the BDE present. It's
not meant to "cover" for IB's missing database aliasing feature (you have
to wait for Firebird 1.x for that. :))

Helen


All for Open and Open for All
InterBase Developer Initiative ยท http://www.interbase2000.org
_______________________________________________________