Please enable JavaScript to view this site.

Navigation: Advanced topics > Events > Table events > List page

Events.After record deleted

Scroll Prev Next More

Description

The AfterDelete event is executed after the record was deleted.

Syntax

public XVar AfterDelete(dynamic where, dynamic deleted_values, ref dynamic message, dynamic 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:

Send a simple email

Insert a record into another table

Check to see if a specific record exists

Display a message on the Web page

Redirect to another page

See also:

Before record deleted

After group of records deleted

Database API: Delete

RunnerPage class:setTabWhere()