RAD Studio |  |

Working with Data Using a Client Dataset
See Also
Collapse All

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 an 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
- Limiting What Records Appear
- Editing data .
- Constraining data values
- Sorting and indexing .
- Representing calculated values .
- Copying data from another dataset.
- Adding application-specific information to the data .

See Also

Using a Client Dataset to Cache Updates

Using a Client Dataset with a Provider

Using a Client Dataset with Flat File Data

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!