Sign in Join
FPDoc Onlineexperiment

TDataSet.Close procedure

Member of TDataSetpublicIn unit DB

Close the dataset.

Declaration

pascal
procedure Close

Description

Close closes the dataset if it is open ( Active=True). This action triggers the BeforeClose and AfterClose events. If the dataset is not active, nothing happens.

Errors

If an exception occurs during the closing of the dataset, the AfterClose event will not be triggered.

See also

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