Re: Preventing insert, update and deletes



Mikael Lenfors wrote:

How do I abort in this case?

To prevent the intended action in any Before... event handler just
raise an exception. The most common way is to raise a silent exception.
This is so common that there is a method that does it for you named
SysUtils.Abort.

--
Bill Todd (TeamB)
.



Relevant Pages