Sign in Join
FPDoc Onlineexperiment

TMemDataset.SetBookmarkData procedure

Member of TMemDatasetprotectedIn unit MemDs

Sets the Bookmark data in the specified record buffer.

Declaration

pascal
procedure SetBookmarkData(Buffer: TRecordBuffer; Data: Pointer)
 ; override

Arguments

Buffer

Record buffer updated in the method.

Data

Bookmark value to assign to the record buffer.

Description

SetBookmarkData is used to set the Bookmark data in the specified record buffer. SetBookmark implements the virtual method defined in the ancestor class.

Buffer contains the record buffer to update in the method. Data contains the Bookmark to store in the record buffer. When Data is unassigned (contains Nil), the value 0 is written at the required position in Buffer. Otherwise, an Integer pointer with the value in Data is written in Buffer.

SetBookmark is used when records are inserted or appended to the dataset.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.