Most dataset components can connect directly to a database server. Once connected, the dataset communicates with the server automatically. When you open the dataset, it populates itself with data from the server, and when you post records, they are sent back the server and applied. A single connection component can be shared by multiple datasets, or each dataset can use its own connection.
Each type of dataset connects to the database server using its own type of connection component, which is designed to work with a single data access mechanism. The following table lists these data access mechanisms and the associated connection components:
Database connection components
Data Access Mechanism |
Connection Component |
Borland Database Engine (BDE) |
TDatabase |
ActiveX Data Objects (ADO) |
TADOConnection |
dbExpress |
TSQLConnection |
InterBase Express |
TIBDatabase |
The following topics discuss many of these common tasks:
Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
|
What do you think about this topic? Send feedback!
|