Stop a user deleting a record if it has connected records

Hi All,

My question is same as the title. 

If I have a book object and an author object. How do I stop someone from deleting the author object if it is connected to a book?



This worked perfectly thanks

I would suggest the following:

  1. Create a Count field called Number of Books on the Author object which counts the number of books they have connected
  2. Assuming your delete option is a link in a table, use a display rule to hide the link if the Number of Books > 0

I hope this helps