Hi all and thanks for reading.
I have a database for vehicles and sometimes they go on a job and the location is recorded as to find it for servicing etc, the location is in a another table related to the vehicle table. But if I delete the location, regardless if there are any related records I can still delete the record from the location table. How can I prevent the user from deleting a location if related records exist, I am using a form to edit/delete location.