Page 1 of 1

FastReport components question

Posted: Sat 21 Feb 2009 14:55
by zd
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!

Posted: Mon 23 Feb 2009 09:03
by Plash
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.

Posted: Mon 23 Feb 2009 12:07
by zd
Perfect, thank you!

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