TDataSet.Active¶
Is the dataset open or closed.
Declaration¶
Source position: db.pas line 2130
public property Active: Boolean default False;
Description¶
Active is True if the dataset is open, and False if it is closed (TDataset.State is then dsInactive). Setting the Active property to True is equivalent to calling TDataset.Open, setting it to False is equivalent to calling TDataset.Close
See also¶
| Name | Description |
|---|---|
| TDataset.State | Current operational state of the dataset. |
| TDataset.Open | Activate the dataset: Fetch data into memory. |
| TDataset.Close | Close the dataset. |