Data.DB.TDataSet Events

From RAD Studio API Documentation
Jump to: navigation, search


InheritedProtected
AfterCancelpublicOccurs after an application completes a request to cancel modifications to the active record.
AfterClosepublicOccurs after an application closes a dataset.
AfterDeletepublicOccurs after an application deletes a record.
AfterEditpublicOccurs after an application starts editing a record.
AfterInsertpublicOccurs after an application inserts a new record.
AfterOpenpublicOccurs after an application completes opening a dataset and before any data access occurs.
AfterPostpublicOccurs after an application writes the active record to the database or change log and returns to browse state.
AfterRefreshpublicOccurs after an application refreshes the data in the dataset.
AfterScrollpublicOccurs after an application scrolls from one record to another.
BeforeCancelpublicOccurs before an application executes a request to cancel changes to the active record.
BeforeClosepublicOccurs immediately before the dataset closes.
BeforeDeletepublicOccurs before an application attempts to delete the active record.
BeforeEditpublicOccurs before an application enters edit mode for the active record.
BeforeInsertpublicOccurs before an application enters insert mode.
BeforeOpenpublicOccurs before an application executes a request to open a dataset.
BeforePostpublicOccurs before an application posts changes for the active record to the database or change log.
BeforeRefreshpublicOccurs immediately before an application refreshes the data in the dataset.
BeforeScrollpublicOccurs before an application scrolls from one record to another.
OnCalcFieldspublicOccurs when an application recalculates calculated fields.
OnDeleteErrorpublicOccurs when an application attempts to delete a record and an exception is raised.
OnEditErrorpublicOccurs when an application attempts to modify or insert a record and an exception is raised.
OnFilterRecordpublicOccurs only when a record is fetched from a DB or when the Filtered property is set to True.
OnGetDeltaStreamsprotected
OnNewRecordpublicOccurs when an application inserts or appends a new dataset record.
OnPostErrorpublicOccurs when an application attempts to modify or insert a record and an exception is raised.