Suppose there is a relation between two table.So when we delete a record from master table it must display asp error ("like there is relation between tables you cannot delete the record"). So I want to know how to trap the error code and display a suitable message to the user.<BR><BR>