Re: Preventing insert, update and deletes



Thanks!

"Bill Todd" <no@xxxxxx> skrev i meddelandet
news:44eb6c04$1@xxxxxxxxxxxxxxxxxxxxxxxxx
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