TCustomBufDataset.GetFieldData function
Get the data for a field.
Declaration
function GetFieldData(Field: TField; Buffer: Pointer;
NativeFormat: Boolean): Boolean; override
function GetFieldData(Field: TField; Buffer: Pointer): Boolean
; overrideDescription
GetFieldData should copy the data for field
Field from the internal dataset memory buffer
into the memory pointed to by
Buffer.
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 function should return
True if data was available and has been copied, or
False
if no data was available (in which case the field has value
Null). The
NativeFormat determines whether
the data should be in native format (e.g. whether the date/time values should be in
TDateTime format).Errors
No checks are performed on the validity of the memory buffer
This description is the one of DB.TDataSet.GetFieldData.
See also
- DisplayText
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
