I have two buttons one called delete and one called exclude. They work independently but wont work together. I want them to do the exact same thing . The only difference is that in the viewAll store procedure for delete i have set where IsDeleted =0 so its not visible.The Exclude is visible and just puts a line through the record and you have the option in the edit to restore the record.
You cannot have two ondeleteCommands