Data.DB.TDataSet.DataConvert

From RAD Studio API Documentation
Jump to: navigation, search

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, System::DynamicArray<System::Byte> Source, System::DynamicArray<System::Byte> &Dest, bool ToNative)/* overload */;
virtual void __fastcall DataConvert _DEPRECATED_ATTRIBUTE1("Use overloaded method instead") (TField* Field, void * Source, void * Dest, bool ToNative)/* overload */;

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.


See Also