TDataSet.GetFieldData function
Get the data for a field.
Declaration
function GetFieldData(Field: TField; Buffer: Pointer): Boolean
; virtual; overload
function GetFieldData(Field: TField; Buffer: Pointer;
NativeFormat: Boolean): Boolean; virtual
; overloadArguments
Field | Field for which the data should be fetched. |
Buffer | Buffer in which the data should be copied. |
NativeFormat | Should the data be in native format. |
Function result
True if data was available, false if no data was available.
Description
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
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
