FastReports w/IBDAC

Discussion of open issues, suggestions and bugs regarding IBDAC (InterBase Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
rhettp
Posts: 25
Joined: Tue 15 Aug 2006 01:25

FastReports w/IBDAC

Post by rhettp » Tue 26 Dec 2006 20:04

When trying to compile the 2006 FastReports components for IBDAC - I get an error here:

TfrxEngineIBDAC(Result).FQuery.Connection := TCustomMSConnection(FQuery.Connection);

Where TCustomMSConnection isn't declared. Any ideas how to correct?

Thanks,

Rhett Price

Alex
Posts: 655
Joined: Mon 08 Nov 2004 08:39

Post by Alex » Fri 29 Dec 2006 11:17

We have reproduced this prblem, and fixed it. This fix will be included in the next IBDAC build.

You can manually correct the FastReport integration package source code by changing all occurences of TCustomMSConnection to TCustomDAConnection.

rhettp
Posts: 25
Joined: Tue 15 Aug 2006 01:25

Post by rhettp » Sat 30 Dec 2006 18:28

Thanks -- but I change it in 2 places and now get this:

[Pascal Error] frxIBDACComponents.pas(309): E2010 Incompatible types: 'TIBCConnection' and 'TCustomDAConnection'

on this line: TempTable.Connection := TCustomDAConnection(FQuery.Connection);

Any ideas? Thanks.

Alex
Posts: 655
Joined: Mon 08 Nov 2004 08:39

Post by Alex » Wed 03 Jan 2007 15:37

This was my misprint, you should use TIBCConnection instead of TCustomDAConnection.

Post Reply