CodeCharge Studio

After Delete Event

Applies to

Record

Description

This event occurs after deleting a row from the data source.

Possible applications:

Examples

This example After Delete event shows how to perform a cascading delete of link records that are related to a user record that has been deleted.

Function members_AfterDelete()
  If members.DataSource.Errors.Count = 0 Then
     DBInternet.Execute ("DELETE FROM links WHERE user_id_add_by = " &_
                          DBInternet.ToSQL(members.DataSource.Parameters("urluser_id"),ccsInteger))
  End If
End Function


On-line, printable versions and updates