04-20-2011 12:26 PM
I am trying to write code so that if a user tries to delete a company called Master, a message box pops up saying that the company cannot be deleted and the deletion process is cancelled. I am wondering if there is an event I can call to cancel the deletion. I know when you delete a company the companychanging event is called, but this runs whenever a company is changed as well as deleted so it would not work. Any ideas?