FireDAC.Phys.ODBC.TFDPhysODBCDriverLink

From RAD Studio API Documentation
Jump to: navigation, search

FireDAC.Phys.ODBCBase.TFDPhysODBCBaseDriverLinkFireDAC.Phys.TFDPhysDriverLinkFireDAC.Stan.Intf.TFDComponentSystem.Classes.TComponentSystem.Classes.TPersistentSystem.TObjectTFDPhysODBCDriverLink

Delphi

TFDPhysODBCDriverLink = class(TFDPhysODBCBaseDriverLink)

C++

class PASCALIMPLEMENTATION TFDPhysODBCDriverLink : public Firedac::Phys::Odbcbase::TFDPhysODBCBaseDriverLink

Properties

Type Visibility Source Unit Parent
class public
FireDAC.Phys.ODBC.pas
FireDAC.Phys.ODBC.hpp
FireDAC.Phys.ODBC FireDAC.Phys.ODBC

Description

Use the TFDPhysODBCDriverLink component to link the ODBC bridge driver to an application.

In general, it is enough to include the FireDAC.Phys.ODBC unit in your application uses clause.

The TFDPhysODBCDriverLink component can be used to specify:

  • The ODBCDriver - the ODBC driver name.
  • The ODBCAdvanced - the ODBC driver connection parameter that is shared by all connections.
  • The VendorLib - the ODBC driver manager. By default, it is odbc32.dll and should remain unchanged in most cases.

All properties have default values appropriate for most cases. To produce an effect, you must either perform all property changes before the first connection through this driver or use the Release method.

Example

FDPhysODBCDriverLink1.DriverID := 'Informix';
FDPhysODBCDriverLink1.ODBCAdvanced := 'CLOC=en_US.CP1252;DLOC=en_US.819';
FDPhysODBCDriverLink1.ODBCDriver := 'IBM INFORMIX ODBC DRIVER';

See Also