Data.DB.TDataSet.InternalAddRecord

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure InternalAddRecord(Buffer: TRecBuf; Append: Boolean); overload; virtual;
procedure InternalAddRecord(Buffer: TRecordBuffer; Append: Boolean); overload; virtual; deprecated 'Use overloaded method instead';
procedure InternalAddRecord(Buffer: Pointer; Append: Boolean); overload; virtual; deprecated 'Use overloaded method instead';

C++

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

Properties

Type Visibility Source Unit Parent
procedure
function
protected
Data.DB.pas
Data.DB.hpp
Data.DB TDataSet

Description

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