[Overview][Constants][Types][Classes][Procedures and functions][Index] |
Assign value of a variant record to the field.
Source position: db.pas line 372
public procedure TField.AssignValue( |
const AValue: TVarRec |
); |
AValue |
|
Value to assign to the field |
AssignValue assigns the value of a "array of const" record AValue (of type TVarRec) to the field's value. If the record contains a TPersistent instance, it will be used as argument for the Assign to the field.
The dataset must be in edit mode to execute this method.
If the AValue contains an unsupported value (such as a non-nil pointer) then an exception will be raised. If the dataset is not in one of the edit modes, then executing this method will raise an EDatabaseError exception.
|
Copy properties from one TField instance to another |
|
|
Value of the field as a variant value |
lazarus-ccr.sourceforge.net |