Subject | Re: [IBO] FB 1.5 Database Alias with IBObjects |
---|---|
Author | peter@cyionics.com |
Post date | 2003-12-09T17:00:01Z |
Hi Ryan
I believe it's a function of firebird rather than Ibobjects.
sorry to go back to roots but
ensure you have updated you aliases.conf file and restarted the firebird
server
below is a code sample I use to connect to the db, hopefully you can glean
something from this.
IB_Connection1.ForceDisconnect;
Database := IB_Stores.FieldByName('IP_ADDR').AsString;
Database := Database + ':odin';
IB_Connection1.Database := Database;
IB_Connection1.Connect;
odin is my alias, Ip_addr is the ip address of the particular server.
Hope this helps
Rgds
Peter
I believe it's a function of firebird rather than Ibobjects.
sorry to go back to roots but
ensure you have updated you aliases.conf file and restarted the firebird
server
below is a code sample I use to connect to the db, hopefully you can glean
something from this.
IB_Connection1.ForceDisconnect;
Database := IB_Stores.FieldByName('IP_ADDR').AsString;
Database := Database + ':odin';
IB_Connection1.Database := Database;
IB_Connection1.Connect;
odin is my alias, Ip_addr is the ip address of the particular server.
Hope this helps
Rgds
Peter
----- Original Message -----
From: "sllimr7139" <rmcontrols@...>
To: <IBObjects@yahoogroups.com>
Sent: Tuesday, December 09, 2003 4:50 PM
Subject: Re: [IBO] FB 1.5 Database Alias with IBObjects
> Thanks for that Peter,
>
> I believe I have tried that, but the error message I was getting back
> was like "the database name must not be empty" or something similar.
>
> I'm kinda wondering if my subscription to IBObjects must be renewed
> quicker than I was expecting. Anyone know when the alias support went
> in to the component set?
>
> Ryan
>
> --- In IBObjects@yahoogroups.com, <peter@c...> wrote:
> > Hi Ryan
> >
> > Just replace the database name with the alias
> >
> > eg
> > myserver:alias
> >
> > Rgds
> >
> > Peter
> >
>
>
>
>
>
___________________________________________________________________________
> IB Objects - direct, complete, custom connectivity to Firebird or
InterBase
> without the need for BDE, ODBC or any other layer.
>
___________________________________________________________________________
> http://www.ibobjects.com - your IBO community resource for Tech Info
papers,
> keyword-searchable FAQ, community code contributions and more !
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>
>
>