Accuracer: The First And Only Cross-Platform BDE Replacement
Client-Server Single-File Embedded Database with SQL for Delphi / C++Builder / Kylix


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 Accuracer: Benefits-bde Replacement Embedded Database For Delphi C\+\+ Builder Kyli