Description
The AfterDelete event is executed after the record was deleted.
Syntax
AfterDelete(where,deleted_values,message,pageObject)
Arguments
where
a WHERE clause that points to the record to be copied. Example: ID=19.
deleted_values
an array with the field values from the record to be deleted. To access a specific field value, use deleted_values["FieldName"].
Note: Field names are case-sensitive. If the field name is PlayerId, you should use deleted_values["PlayerId"]. Note that deleted_values["playerid"] or deleted_values["PlayerID"] will not work.
message
place the message to be displayed into this variable.
pageObject
an object representing the current page. For more information, see RunnerPage class.
Applies to pages
List.
Recommended predefined actions and sample events:
•Insert a record into another table
•Check to see if a specific record exists
•Display a message on the Web page
See also:
•After group of records deleted
•RunnerPage class:setTabWhere()