Subject Re: [IBO] Alias Names
Author rod@myiafrica.com
Our sotware goes out to many different clients. I cant hardcode the
literal string. If not using an AliasName, would you setup an ini
file or is there a better way to do this ?


--- In IBObjects@y..., "Jason Wharton" <jwharton@i...> wrote:
> > Can I put the database alias name in TIBODatabase.Databasename
> > property ? A path works for me but the alias name does not.
>
> Only use AliasName if you have a BDE alias setup on the machine the
app is
> running from.
> I strongly recommend you move away from using an AliasName.
>
> To setup your database connection use the Server, Path and Protocol
> properties.
>
> DatabaseName is just a friendly way to describe your database and
if left
> blank will simply reflect what your literal connection string is. I
also
> made the mistake of allowing people to set a valid connection
string with
> this property. It wasn't intended to be used that way.
>
> Jason Wharton
> CPS - Mesa AZ
> http://www.ibobjects.com