Delphi Database, Delphi Components from ComponentAce
Products Download Order Contact us
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.
        © 2003 - 2017 ComponentAce  | .net zip component | barcode for .net | delphi zip component | delphi database Nov 25, 2017