Data.SqlExpr.TCustomSQLDataSet.SetFieldData

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure SetFieldData(Field: TField; Buffer: TValueBuffer); overload; override;
procedure SetFieldData(Field: TField; Buffer: Pointer); overload; override; deprecated 'Use overloaded method instead';

C++

virtual void __fastcall SetFieldData(Data::Db::TField* Field, System::DynamicArray<System::Byte> Buffer)/* overload */;
virtual void __fastcall SetFieldData _DEPRECATED_ATTRIBUTE1("Use overloaded method instead") (Data::Db::TField* Field, void * Buffer)/* overload */;
inline void __fastcall  SetFieldData(Data::Db::TField* Field, System::DynamicArray<System::Byte> Buffer, bool NativeFormat){ Data::Db::TDataSet::SetFieldData(Field, Buffer, NativeFormat); }
inline void __fastcall  SetFieldData _DEPRECATED_ATTRIBUTE1("Use overloaded method instead") (Data::Db::TField* Field, void * Buffer, bool NativeFormat){ Data::Db::TDataSet::SetFieldData(Field, Buffer, NativeFormat); }

Properties

Type Visibility Source Unit Parent
procedure
function
protected
Data.SqlExpr.pas
Data.SqlExpr.hpp
Data.SqlExpr TCustomSQLDataSet

Description

Sets the buffer to the current field.

Data.SqlExpr.TCustomSQLDataSet.SetFieldData inherits from Data.DB.TDataSet.SetFieldData. All content below this line refers to Data.DB.TDataSet.SetFieldData.

Sets the buffer to the current field.

SetFieldData is used to set the Buffer to the Field field. TField objects call this method to implement their SetData method.

The Field parameter indicates the field that will be set to the data from Buffer buffer. NativeFormat indicates whether the dataset fetches the field in the IDE's native format for the field type. When NativeFormat is False, the dataset must convert the field value to the native type. This allows the field to handle data from different types of datasets (ADO-based and so on) in a uniform manner.

See Also