Hello
1) AnyDAC uses a connection definition to connect to a DBMS. The definition is a set of the connection parameters. More about that:
http://www.da-soft.com/anydac/docu/Defining_Connection.html
2) Each DBMS is identified in the definition by DriverID parameter. Eg, to connect to SQLite database, you should specifiy:
[code]DriverID=SQLite
Database=c:\db.sdb[/code]
To connect to Oracle:
[code]DriverID=Ora
Database=OraSrv
User_Name=scott
Password=tiger[/code]
So, for a DBMS you should specifiy required connection parameters. Most simple will be to put them into TADConnection.Params (temporary connection definition). For a list of supported conenction parameters see:
http://www.da-soft.com/anydac/docu/Database_Connectivity.html
3) When you need to connect to a DBMS, which is not supported directly by AnyDAC, then you can use AnyDAC ODBC or dbExpress bridge drivers:
http://www.da-soft.com/anydac/docu/Connect_to_ODBC_data_source.html
http://www.da-soft.com/anydac/docu/Connect_to_dbExpress_data_source.html
4) To link some AnyDAC DB driver into your application, you should include corresponding driver unit into your application, or drop corresponding TADPhysXxxxDriverLink components to a form / data module:
http://www.da-soft.com/anydac/docu/General.html
5) AnyDAC to connect to a DBMS requires a DBMS client to be installed.
↧