I think this is now requiring a new thread patatrac. Also, if you do a search on the forum you will find that this topic has been discussed so many times.
Yes a role would be a customer, supplier etc. The reason I did this is because there are going to be alot of companies and I want to be able to filter the list to only show appropriate companies in certain situations, eg: when selecting a customer in a transaction only show companies with a customer role. Sometimes a company can have several roles so it has to be a one to many...
The reason I don't want users to delete all the roles for a given company is because I don't want companies about with no role, because they would not be able to be used anywhere else and would just be a waste of space, and more accurately it would annoy me that they were there!
I like the idea of only letting admin delete roles because this would also prevent inexperienced users from messing up the data!
The following code on your own delete button on a continuous form will display a message box to users telling them how many records are about to be deleted. Replace the names with those of your own Tables etc