Data.DB.TDataSet.DataConvert
| [–] Properties | |
|---|---|
| Type: procedure function
| |
| Visibility: protected | |
| Source: Data.DB.pas Data.DB.hpp
| |
| Unit: Data.DB | |
| Parent: TDataSet | |
Delphi
procedure DataConvert(Field: TField; Source: TValueBuffer; var Dest: TValueBuffer; ToNative: Boolean); overload; virtual;
procedure DataConvert(Field: TField; Source, Dest: Pointer; ToNative: Boolean); overload; virtual; deprecated 'Use overloaded method instead';
C++
virtual void __fastcall DataConvert(TField* Field, TValueBuffer Source, TValueBuffer &Dest, bool ToNative)/* overload */;
virtual void __fastcall DataConvert _DEPRECATED_ATTRIBUTE1("Use overloaded method instead") (TField* Field, void * Source, void * Dest, bool ToNative)/* overload */;
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.
See Also