3.2. TFDConnection Component

The TFDConnection component provides connectivity to various types of databases. We will specify an instance of this component in the Connection properties of other FireDac components. The particular type of the database to which the connection will be established depends on the value of the DriverName property. To access Firebird, you need to set this property to FB.

For the connection to know exactly which access library it should work with, place the TFBPhysFBDriverLink component in the main data module. Its VendorLib property enables the path to the client library to be specified precisely. If it is not specified, the component will attempt to establish a connection via libraries registered in the system, for example, in system32, which might not be what you want at all.