EasyTable: Single-File Embedded BDE Replacement
Database for Delphi and C++Builder


TDataSet.ClearFields
TDataSet
Top 

Clears the contents of all fields for the active record.

procedure ClearFields;

Description
Call ClearFields to erase the current contents of all fields for the active record. If the dataset is not in either dsInsert or dsEdit state, ClearFields raises an exception.

If a SetKey operation is not under way, ClearFields recalculates all calculated fields, and generates an OnDataChange event on the data source component associated with the dataset.


© AidAim Software EasyTable: Easytable Ben Delphi Database Single File Bde Replacemen