Subject | Database connection in Delphi 7 |
---|---|
Author | yaedos2000 |
Post date | 2004-10-07T16:02:28Z |
Hi,
I'm developing a database system for my project using Firebird and
IBO components. I'm using IB_Connect to connect the database with the
following code:
cn.Params.Values ['Database'] := '127.0.0.1:C\Program
Files\Firebird\Bin\TMS.GDB';
cn.Params.Values ['user_name'] := 'tarak';
cn.Params.Values ['password'] := 'test';
cn.Connect;
The code produces the run-time error "DataBase name cannot be blank."
The same code works fine in another version of the database. Any
ideas??!!
Thanks :-)
I'm developing a database system for my project using Firebird and
IBO components. I'm using IB_Connect to connect the database with the
following code:
cn.Params.Values ['Database'] := '127.0.0.1:C\Program
Files\Firebird\Bin\TMS.GDB';
cn.Params.Values ['user_name'] := 'tarak';
cn.Params.Values ['password'] := 'test';
cn.Connect;
The code produces the run-time error "DataBase name cannot be blank."
The same code works fine in another version of the database. Any
ideas??!!
Thanks :-)