Write an AfterDelete event handler to take specific action immediately after an
application deletes the active 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.