Adding the Data Link
Go Up to Making a control data aware Index
The connection between a control and a database is handled by a class called a data link. The data link class that connects a control with a single field in a database is TFieldDataLink. There are also data links for entire tables.
A data-aware control owns its data link class. That is, the control has the responsibility for constructing and destroying the data link. For details on management of owned classes, see Creating a Graphic Component.
Establishing a data link as an owned class requires these three steps: