Unit 'memds' Package
[Overview][Constants][Classes][Index] [#fcl]

TMemDataset.CreateTable

Creates the internal storage for records in the in-memory dataset.

Declaration

Source position: memds.pp line 147

public procedure TMemDataset.CreateTable;

Description

CreateTable is used to create the internal storage for records in the in-memory dataset. CreateTable calls CheckInactive to ensure that the dataset is not already opened or Active. CreateTable calls Clear to remove any existing record data in the in-memory dataset. Field definitions are retained. CreateTable calls CalcRecordLayout to determine the record size including Bookmark and BookmarkFlag values. Sets the internal TableIsCreated member to True.

See also

TDataset.Active

  

Is the dataset open or closed.

TMemDataset.Clear

  

Clears the content in the in-memory dataset.

TDataset.FieldDefs

  

Definitions of available fields in the underlying database.

CreateTable

  

Creates the internal storage for records in the in-memory dataset.


Documentation generated on: Nov 23 2024