Retrieves and applies the data packet with the content for the dataset.
Source position: bufdataset.pas line 671
public procedure TCustomBufDataset.SetDatasetPacket( |
AReader: TDataPacketHandler |
); |
AReader |
|
Data packet reader for the operation. |
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.
|
Activate the dataset: Fetch data into memory. |
|
|
Loads the dataset from the specified stream using the given data format. |
|
|
Implements a data packet reader for TBufDataset. |