Unit 'BufDataset' Package
[Overview][Types][Classes][Procedures and functions][Index] [#fcl]

TCustomBufDataset.SetDatasetPacket

Retrieves and applies the data packet with the content for the dataset.

Declaration

Source position: bufdataset.pas line 671

public procedure TCustomBufDataset.SetDatasetPacket(

  AReader: TDataPacketHandler

);

Arguments

AReader

  

Data packet reader for the operation.

Description

SetDatasetPacket is a procedure used to retrieve and apply the data packet with the content for the dataset.

AReader is a TDataPacketReader instance that is used to read and apply the content for the buffered dataset. It is temporarily assigned to an internal member in the calls instance.

SetDatasetPacket calls the Open method to load the field definitions and record data for the dataset.

SetDatasetPacket is used in the implementation of the LoadFromStream method.

See also

TDataset.Open

  

Activate the dataset: Fetch data into memory.

TCustomBufDataset.LoadFromStream

  

Loads the dataset from the specified stream using the given data format.

TDataPacketReader

  

Implements a data packet reader for TBufDataset.


Documentation generated on: Nov 22 2024