I have two custom objects parent and child. If I delete parent record, the child records related to parent record should not delete. In the same if I delete the records from the related list of a parent record the records should not delete from the child object. How can I achieve this? Can any one give me code for overriding the delete button..... Any suggestions/hints could be appreciated.