Subject Re: [IBO] Firebird and IB Objects
Author Dmitry Beloshistov
Hello, vahan.yoghoudjian@...-electric.com!
You wrote to <IBObjects@yahoogroups.com> on Fri, 12 May 2006 09:15:50 +0200:

vy> Hello group, I have a newbie question, I tried to search on the
vy> website but could not find...

vy> How can I connect a IB_Connection to a Firebird database?

If you use FB fbclient.dll library - rename it to gds32.dll library or see
IB_Session511.pas for example.

1) In run time

var IBC:TIB_Connection;
//---- minimal example code
IBC.Database:='servername:/database_path/database.fdb'; // path to FB
database
IBC.CharSet:='WIN1251'; // connection char set (can be NONE)
IBC.Username:='SYSDBA';
IBC.Password:='masterkey';
IBC.LoginPrompt:=False; // if true - Connection Dialog will be showed
IBC.Connect;

2) In design time - left click on TIB_Connection component and setup all
options in component editor dialog.

WBR,Dmitry Beloshistov AKA [-=BDS=-]