Difference between revisions of "Midware TMWTable.AfterDelete"

From Overbyte
Jump to navigation Jump to search
 
(No difference)

Latest revision as of 07:39, 7 May 2011

Main page -> Midware component reference -> TMWTable -> AfterDelete

Definition

proporty AfterDelete:TDataSetNotifyEvent;

Description

Occurs after an application deletes a record.

Write an AfterDelete event handler to take specific action immediately after an application deletes the current record in a dataset. AfterDelete is called by Delete after it deletes the record, sets the dataset state to dsBrowse, and repositions the cursor on the record prior to the one just deleted.

AfterDelete can also be used to keep track of user changes in data and build a request to update tables at server side.