Re: Preventing insert, update and deletes
- From: "Bill Todd" <no@xxxxxx>
- Date: 22 Aug 2006 13:41:40 -0700
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)
.
- Follow-Ups:
- Re: Preventing insert, update and deletes
- From: Mikael Lenfors
- Re: Preventing insert, update and deletes
- References:
- Preventing insert, update and deletes
- From: Mikael Lenfors
- Preventing insert, update and deletes
- Prev by Date: Filtering ADO from other form. Problem
- Next by Date: Re: Problems with ADO and Multithreading: List Index Out Of Bounds
- Previous by thread: Preventing insert, update and deletes
- Next by thread: Re: Preventing insert, update and deletes
- Index(es):
Relevant Pages
|