Re: Handling Open Exception



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


.