[Overview][Constants][Types][Classes][Procedures and functions][Index] |
Get the data for a field
Source position: line 0
public function TDataSet.GetFieldData( |
Field: TField; |
Buffer: Pointer |
):Boolean; virtual; overload; |
Field: TField; |
Buffer: Pointer; |
NativeFormat: Boolean |
):Boolean; virtual; overload; |
Field |
|
Field for which the data should be fetched |
Buffer |
|
Buffer in which the data should be copied |
True if data was available, false if no data was available.
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 |
True if data was available, false if no data was available.
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).
No checks are performed on the validity of the memory buffer
|
Formatted field value |
lazarus-ccr.sourceforge.net |