Show: Delphi
C++
Display Preferences
Data.DB.TDataSet.DataConvert
From XE2 API Documentation
Delphi
procedure DataConvert(Field: TField; Source, Dest: Pointer; ToNative: Boolean); virtual;
C++
virtual void __fastcall DataConvert(TField* Field, void * Source, void * Dest, bool ToNative);
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
procedure function |
protected | Data.DB.pas Data.DB.hpp |
Data.DB | TDataSet |
Description
Converts the data depending on the field type.
DataConvert converts the data from Source to Dest depending on the Field parameter type. ToNative specifies if the destination is in the dataset table or not. The method is internally used to get field data or to set field data.