Working with Data Using a Client Dataset
Go Up to Using Client Datasets Index
Like any dataset, you can use client datasets to supply the data for data-aware controls using a data source component. See Using data controls for information on how to display database information in data-aware controls.
Client datasets implement all the properties and methods inherited from TDataSet. For a complete introduction to this generic dataset behavior, see Understanding datasets.
In addition, client datasets implement many of the features common to table type datasets such as
- Sorting records with indexes
- Using Indexes to search for records
- Limiting records with ranges
- Creating master/detail relationships
- Controlling read/write access
- Creating the underlying dataset
- Emptying the dataset
- Synchronizing client datasets
Client datasets differ from other datasets, in that they hold all their data in memory. Because of this, their support for some database functions can involve additional capabilities or considerations.
The following topics describe some of these common functions and the differences introduced by client datasets:
- Navigating Data in Client Datasets
- Limiting What Records Appear
- Editing Data
- Constraining Data Values
- Sorting and Indexing
- Representing Calculated Values
- Using Maintained Aggregates
- Copying Data from Another Dataset
- Adding Application-specific Information to the Data