Sign in Join
FPDoc Onlineexperiment

TDataSet.SetFieldData procedure

Member of TDataSetpublicIn unit DB

Store the data for a field.

Declaration

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

Arguments

Field

Field to copy data for.

Buffer
NativeFormat

Is the data in native format.

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

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.