Skip to content

TGetMode

Get new buffer mode.

Declaration

Source position: db.pas line 1588

type
  TGetMode = (gmCurrent,gmNext,gmPrior)

Values

Value Description
gmCurrent Retrieve the current record.
gmNext Retrieve the next record.
gmPrior Retrieve the previous record.

Description

TGetMode is used internally by TDataset when it needs to fetch more data for its buffers (using GetRecord). It tells the descendent dataset what operation must be performed.

See also

Name Description
TDataset.Next Go to the next record in the dataset.
TDataset.Prior Go to the previous record.
TGetResult result of the GetRecord operation.