FastReport components question

Discussion of open issues, suggestions and bugs regarding IBDAC (InterBase Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
zd
Posts: 78
Joined: Sun 01 Jul 2007 13:16

FastReport components question

Post by zd » Sat 21 Feb 2009 14:55

Hi!

When connecting to a database using the supplied IBDAC FastReport components where does TfrxIBDACDatabase take its ClientLibrary parameter from for the connection?

How does it know if I'm trying to use fbclient.dll or fbembed.dll for connecting to an embedded database?

Thanks!

Plash
Devart Team
Posts: 2844
Joined: Wed 10 May 2006 07:09

Post by Plash » Mon 23 Feb 2009 09:03

There is the GDSDLL global variable in the IBCCall unit, which holds the name of a client library that should be used. If you assign a value to the ClientLibrary property of any TIBCConnection component, it changes the value of the GDSDLL variable. So if you assign a value to ClientLibrary in one TIBCConection component, all connections use this library.

zd
Posts: 78
Joined: Sun 01 Jul 2007 13:16

Post by zd » Mon 23 Feb 2009 12:07

Perfect, thank you!

My program worked but I didn't know why :-)

Post Reply