[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Close the dataset
Source position: db.pas line 1624
public procedure TDataSet.Close; |
Close closes the dataset if it is open (Active=True). This action triggers the TDataset.BeforeClose and TDataset.AfterClose events. If the dataset is not active, nothing happens.
If an exception occurs during the closing of the dataset, the AfterClose event will not be triggered.
|
Is the dataset open or closed. |
|
|
Activate the dataset: Fetch data into memory. |