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

TCustomBufDataset.SetDatasetPacket

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

Declaration

Source position: bufdataset.pas line 645

public procedure TCustomBufDataset.SetDatasetPacket(

  AReader: TDataPacketReader

);

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: Jun 23 2021