[Overview][Types][Classes][Procedures and functions][Index] Reference for unit 'BufDataset' (#fcl)

TCustomBufDataset.PacketRecords

Number of records allowed in a data packet handled by the packet reader

Declaration

Source position: bufdataset.pas line 662

published property TCustomBufDataset.PacketRecords : Integer
  read FPacketRecords
  write SetPacketRecords
  default 10;

Description

PacketRecords is an Integer property that indicates the number of records allowed in a data packet handled by the packet reader. The default value for the property is 10, and is intended to minimize memory and network overhead when processing data packets for the dataset. The value in PacketRecords is used in the FetchAll and GetNextPacket methods.

Additional validation is performed when setting the value for PacketRecords to ensure that the new property value is not -1. An exception is raised when -1 is the value for the property.


Documentation generated on: Jun 23 2021