Sign in Join
FPDoc Onlineexperiment

TCustomBufDataset.DoBeforeClose procedure

Member of TCustomBufDatasetprotectedIn unit BufDataset

Performs actions needed prior to closing the dataset.

Declaration

pascal
procedure DoBeforeClose; override

Description

DoBeforeClose is an overridden procedure used to perform actions needed prior to closing the dataset. DoBeforeClose calls the inherited method, and checks the value in the FileName property to determine if the dataset should be saved to a file on the local file system. When FileName is not an empty string ( ''), the SaveToFile method is called to store the dataset to the specified FileName.

See also

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