TIP: Click on subject to list as thread! ANSI
echo: delphi
to: JORGEN DE GIER
from: GARY WEINFURTHER
date: 1997-01-10 09:04:00
subject: raise

Jorgen De Gier mentioned this to All:
 JDG> I want to raise an exception in a BeforeInsert event to prevent 
inserting
 JDG> records. But I don't want a MessageBox, which all exceptions seems to
 JDG> have. Is there any way to 'silently' raise an exception?
The message box appears only if the exception has not been handled.  You 
"handle" an exception by using a try..except block.
                                ...Gary
--- GoldED 2.41
---------------
* Origin: The Flying Circus BBS, Farmington Hills, MI. (1:2410/905)

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™.