[Overview][Types][Classes][Procedures and functions][Index] |
Number of records allowed in a data packet handled by the packet reader
Source position: bufdataset.pas line 662
published property TCustomBufDataset.PacketRecords : Integer |
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.