Delphi Database, Delphi Components from ComponentAce
Products Download Order Contact us
TDataSet.Close
TDataSet
Top 


Closes a dataset.

procedure Close;

Description
Call Close to set the Active property of a dataset to False. When Active is False, the dataset is closed; it cannot read data from or write data to the database.

An application must set Active to False before changing other properties that affect the status of the database or the controls that display data in an application. For example, to change the DataSource property for a dataset, the dataset must be closed. Closing the dataset puts it into the dsInactive state and closes the BDE cursor.
        © 2003 - 2024 ComponentAce  | .net zip component | barcode for .net | delphi zip component | delphi database Mar 29, 2024