Deny Delete

If the attribute of any dataset in table points to the dataset of this table which is supposed to be deleted, deleting will not be performed.

Parameters:

  • table: the table to delete from
  • attribute: the attribute table that is the foreign key pointing to this table
  • message: a message that is shown if deleting was denied
Sample Code

Live Sample