Re: Handling Open Exception
- From: Craig Butler
- Date: Mon, 20 Nov 2006 12:48:29 -0500
Yes (first thing I checked <g>)
On Mon, 20 Nov 2006 10:20:09 -0500, "Steve Zimmelman"
<skz@xxxxxxxxxxxxxxxxxx> wrote:
Does the error display when you run the exe outside of the Delphi IDE?.
-Steve-
<craig Butler> wrote in message
news:34g3m2p26aka9venmh8jfeid3jfu7gfknc@xxxxxxxxxx
I'm trying to handle an exception that results from 'bad' data in a
table. The code is as follows:
try
get_taxes_qry.open;
except
on E : Exceptiion do begin
record_transfer_error_sp.execProc
end;
end;
Get_taxes_qry is an adodataset and I'm using D7.
Currently when the open fails the except clause is executed and the
execproc is executed. However,the system also displays an error
message which I need to suppress.
Can someone tell me how to suppress the display?
Thanks
Craig
- Follow-Ups:
- Re: Handling Open Exception
- From: Brian Bushay TeamB
- Re: Handling Open Exception
- From: Kevin Frevert
- Re: Handling Open Exception
- References:
- Handling Open Exception
- From: craig Butler
- Re: Handling Open Exception
- From: Steve Zimmelman
- Handling Open Exception
- Prev by Date: Sql Date Question
- Next by Date: Re: Handling Open Exception
- Previous by thread: Re: Handling Open Exception
- Next by thread: Re: Handling Open Exception
- Index(es):