=SetParametr(Old.ID)
< > =SetParametr(Old.ID)
https://www.sql.ru/forum/1307243/afterdelete-makros-dannyh-s-proverkoy-podtverzhdeniya-udaleniya-zapisi