TIP: Click on subject to list as thread! ANSI
echo: delphi
to: JORGEN DE GIER
from: MARTIN MAAT
date: 1997-01-10 20:46:00
subject: raise

Hallo Jorgen
 JDG> I want to raise an exception in a BeforeInsert event to prevent
 JDG> inserting records. But I don't want a MessageBox, which all
 JDG> exceptions seems to have. Is there any way to 'silently' raise an
 JDG> exception?
Never searched for "Silent Exceptions", did you?  They are called just that, 
all descendants of EAbort are silent. For your convienience, a standard 
procedure Abort was introduced for raising an EAbort.
Groeten, Martin.
--- FMail/386 1.02
---------------
* Origin: -=[ E-mail: m_maat@knoware.nl .......... ]=- (2:286/420.1)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.