FireDAC.Comp.DataSet.TFDDataSet.InternalAddRecord

From RAD Studio API Documentation

Delphi

procedure InternalAddRecord(Buffer: TRecBuf; Append: Boolean); override;

C++

virtual void __fastcall InternalAddRecord(NativeInt Buffer, bool Append)/* overload */;
inline void __fastcall  InternalAddRecord _DEPRECATED_ATTRIBUTE1("Use overloaded method instead") (System::PByte Buffer, bool Append){ Data::Db::TDataSet::InternalAddRecord(Buffer, Append); }
inline void __fastcall  InternalAddRecord _DEPRECATED_ATTRIBUTE1("Use overloaded method instead") (void * Buffer, bool Append){ Data::Db::TDataSet::InternalAddRecord(Buffer, Append); }

Properties

Type Visibility Source Unit Parent
procedure
function
protected
FireDAC.Comp.DataSet.pas
FireDAC.Comp.DataSet.hpp
FireDAC.Comp.DataSet TFDDataSet

Description

Adds a record to the dataset. {{#multireplace:FireDAC.Comp.DataSet.TFDDataSet.InternalAddRecord|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}} inherits from {{#multireplace:Data.DB.TDataSet.InternalAddRecord|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}. All content below this line refers to {{#multireplace:Data.DB.TDataSet.InternalAddRecord|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}.

Adds a record to the dataset.

InternalAddRecord is internally called when a record is added to the dataset. The method is virtual and blank, so every TDataSet descendant must override this method in its specific way. The Buffer parameter is a pointer to the record to add. When the Append parameter is True, the record is appended to the dataset; when it is False, the record is inserted in the dataset. The position of the appended/inserted record depends on the database type.

See Also