Accuracer: The First And Only Cross-Platform BDE Replacement
Client-Server Single-File Embedded Database with SQL for Delphi / C++Builder / Kylix


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 Accuracer: Client Server Single-file Bde Replacement Delphi Database Embedded Databas