Bde.DBTables.TBDEDataSet.GetRecordSize
Delphi
function GetRecordSize: Word; override;
C++
virtual System::Word __fastcall GetRecordSize(void);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | protected | Bde.DBTables.pas Bde.DBTables.hpp |
Bde.DBTables | TBDEDataSet |
Description
Returns the size of a record in the dataset.
Bde.DBTables.TBDEDataSet.GetRecordSize inherits from Data.DB.TDataSet.GetRecordSize. All content below this line refers to Data.DB.TDataSet.GetRecordSize.
Returns the size of a record in the dataset.
GetRecordSize returns the size of a record in the dataset. In TDataSet, the value of RecordSize is always 0, because TDataSet does not implement record buffering. Descendant classes that buffer records override the GetRecordSize method to return the number of bytes in a record buffer.