Bde.DBTables.TBDEDataSet.InternalAddRecord
Delphi
procedure InternalAddRecord(Buffer: TRecordBuffer; Append: Boolean); overload; override;
procedure InternalAddRecord(Buffer: Pointer; Append: Boolean); overload; override; deprecated 'Use overloaded method instead';
C++
virtual void __fastcall InternalAddRecord(System::PByte Buffer, bool Append)/* overload */;
virtual void __fastcall InternalAddRecord _DEPRECATED_ATTRIBUTE1("Use overloaded method instead") (void * Buffer, bool Append)/* overload */;
inline void __fastcall InternalAddRecord(NativeInt Buffer, bool Append){ Data::Db::TDataSet::InternalAddRecord(Buffer, Append); }
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
protected | Bde.DBTables.pas Bde.DBTables.hpp |
Bde.DBTables | TBDEDataSet |
Description
Adds a record to the dataset.
Bde.DBTables.TBDEDataSet.InternalAddRecord inherits from Data.DB.TDataSet.InternalAddRecord. All content below this line refers to Data.DB.TDataSet.InternalAddRecord.
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.