EasyTable: Single-File Embedded BDE Replacement
Database for Delphi and C++Builder


TDataSet.Open
TDataSet
Top 

Opens the dataset.

procedure Open;

Description
Call Open to set the Active property for the dataset to True. When Active is True, data can be read from and written to the database.
Setting Active to True:
·Triggers the BeforeOpen event handler if one is defined for the dataset.  
·Sets the dataset state to dsBrowse.  
·Opens a Borland Database Engine (BDE) cursor into the dataset, if appropriate (only applies to TBDEDataSet and its descendants, TQuery, TStoredProc, and TTable).  
·Triggers the After Open event handler if one is defined for the dataset.  

If an error occurs during the dataset open, dataset state is set to dsInactive, and the cursor is closed.


© AidAim Software EasyTable: Easytable Ben Delphi Database Single File Bde Replacemen