Skip to content

TDataSet.SetFieldData

Store the data for a field.

Declaration

Source position: db.pas line 1896

public 
procedure SetFieldData(Field: TField; Buffer: Pointer);  virtual
                      ;  overload; overload;

procedure SetFieldData(Field: TField; Buffer: Pointer; 
                      NativeFormat: Boolean);  virtual;  overload; overload;

Description

SetFieldData should copy the data from field Field, stored in the memory pointed to by Buffer to the dataset memory buffer for the current record. This function is not intended for use by end-user applications, and should be used only in descendent classes, where it can be overridden. The NativeFormat determines whether the data is in native format (e.g. whether the date/time values are in TDateTime format).

See also

Name Description
TField.DisplayText Formatted field value.