DAC for MySQL

TmySQLMacroQuery.Events

Previous Next

Please see TmySQLMacroQuery events short descriptions below:

Derived from TDataSet

AfterCancel

Occurs after an application completes a request to cancel modifications to the active record.

AfterClose

Occurs after an application closes a dataset.

AfterDelete

Occurs after an application deletes a record.

AfterEdit

Occurs after an application starts editing a record.

AfterInsert

Occurs after an application inserts a new record.

AfterOpen

Occurs after an application completes opening a dataset and before any data access occurs.

AfterPost

Occurs after an application writes the active record to the database or cache returns to browse state.

AfterRefresh

Occurs after an application refreshes the data in the dataset.

AfterScroll

Occurs after an application scrolls from one record to another.

BeforeCancel

Occurs before an application executes a request to cancel changes to the active record.

BeforeClose

Occurs before an application executes a request to close the dataset.

BeforeDelete

Occurs before an application attempts to delete the active record.

BeforeEdit

Occurs before an application enters edit mode for the active record.

BeforeInsert

Occurs before an application enters insert mode.

BeforeOpen

Occurs before an application executes a request to open a dataset.

BeforePost

Occurs before an application posts changes for the active record to the database or cache.

BeforeRefresh

Occurs immediately before an application refreshes the data in the dataset.

BeforeScroll

Occurs before an application scrolls from one record to another.

OnCalcFields

Occurs when an application recalculates calculated fields.

OnDeleteError

Occurs when an application attempts to delete a record and an exception is raised.

OnEditError

Occurs when an application attempts to modify or insert a record and an exception is raised.

OnFilterRecord

Occurs each time a different record in the dataset becomes the active record and filtering is enabled.

OnNewRecord

Occurs when an application inserts or appends a new dataset record.

OnPostError

Occurs when an application attempts to modify or insert a record and an exception is raised.

Derived from TMySQLDataSet

OnUpdateError

Occurs if an exception is generated when cached updates are applied to a database.

OnDeleting

Occurs after all checks before data deleting are passed but before an application deletes this record from the database. This event allows to cancel record deleting.

OnInserting

Occurs after all checks before data insert are passed but before an application posts changes for this new record to the database. This event allows to cancel record insertion.

OnPosting

Occurs after all checks before post are passed but before an application posts changes for the active record to the database. This event allows to cancel data modification.

In TmySQLMacroQuery

TmySQLMacroQuery has no own events