[Overview][Constants][Types][Classes][Procedures and functions][Index] |
Set a number of field values at once
Source position: db.pas line 1331
public procedure TDataSet.SetFields( |
const Values: array of Const |
); |
Values |
|
Values to save in fields |
SetFields sets the values of the fields with the corresponding values in the array. It starts with the first field in the TDataset.Fields property, and works it's way down the array.
If the dataset is not in edit mode, then an EDatabaseError exception will be raised. If there are more values than fields, an EListError exception will be raised.
|
Indexed access to the fields of the dataset. |
lazarus-ccr.sourceforge.net |