Sign in Join
FPDoc Onlineexperiment

TCustomBufDataset.PacketRecords property

Member of TCustomBufDatasetpublishedIn unit BufDataset

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

Declaration

pascal
property 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.

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.