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


Deletes the active record and positions the cursor to the next record.

procedure Delete;

Description
Call Delete to remove the active record from the database. If the dataset is inactive, Delete raises an exception. Otherwise Delete:

·Verifies that the dataset is not empty (and raises an exception if it is).  
·Calls CheckBrowseMode to post any pending changes to a prior record if necessary.  
·Calls the BeforeDelete event handler.  
·Deletes the record.  
·Frees the buffers allocated for the record.  
·Puts the dataset into dsBrowse mode.  
·Resynchronizes the dataset to position the cursor to the next undeleted record.  
·Calls the AfterDelete event handler.  
        © 2003 - 2024 ComponentAce  | .net zip component | barcode for .net | delphi zip component | delphi database Mar 28, 2024