Error in IBDac v5.2.6

Discussion of open issues, suggestions and bugs regarding IBDAC (InterBase Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
xstef
Posts: 22
Joined: Sat 09 Sep 2006 20:44

Error in IBDac v5.2.6

Post by xstef » Wed 02 Apr 2014 19:26

Hi, i get a SQL Error Code -804 Datatype Unknown when i try to open a TIBCQuery that is linked to another TIBCQuery with a Datasource and the MasterFields properties set.

I am using IBDac v5.2.6 with Delphi 7.

Regards

Stefanos Charalampous

TwinSoft

ZEuS
Devart Team
Posts: 240
Joined: Thu 05 Apr 2012 07:32

Re: Error in IBDac v5.2.6

Post by ZEuS » Thu 03 Apr 2014 05:02

Unfortunately, we can not reproduce the problem.
Please create a small sample that demonstrates the problem, including a script to create the test database, and send it to eugeniyz*devart*com.

xstef
Posts: 22
Joined: Sat 09 Sep 2006 20:44

Re: Error in IBDac v5.2.6

Post by xstef » Thu 03 Apr 2014 18:23

I have backported IBDac to 5.1.4 in order to have a working version. The steps i did to reproduce the problem in 5.2.6 are:

1) Put a IBCConection and a IBCTransaction and connect to your DB
2) Put a TIBCQuery and set the SQL to select * from TableA
3) Put a second TIBCQuery and set the SQL to select * from TableB
4) Put a TDatasource and set it to the first TIBCQuery
5) Set the MasterSource property on the second TIBCQuery to the TDatasource
6) Set the MasterFields property and select the joining fields
7) Try to open the second TIBCQuery by setting the Active property

The joining fields are integer fields (primary key and foreign key) and i am using FB 2.1.5

This produces the error.

Regards,

Stefanos

TwinSoft

ZEuS
Devart Team
Posts: 240
Joined: Thu 05 Apr 2012 07:32

Re: Error in IBDac v5.2.6

Post by ZEuS » Fri 04 Apr 2014 05:54

Thank you for the information.
We have reproduced the issue and fixed it. The error is specific to the Firebird version 2.1 and lower. We will include the fix in the next IBDAC release.

Post Reply