Re: Cant trap Exception.
- From: yannis <none@xxxxxxxxxx>
- Date: Tue, 19 Feb 2008 12:27:16 +0200
Karl A. Sψrensen laid this down on his screen :
Any idea on how to catch this exception (removing the message box) ?
Yes.
1) Close the connection object (lConnection.Connected := false) from you designer before compiling your project.
2) change the exception handling code from
except
iRetVal := 0;
end;
To
except
On E:Exception do
begin
iRetVal := 0;
end;
end;
Regards
Yannis.
--
You talk a great deal about building a better world for your children, but when you are young you can no more envision a world inherited by your children than you can conceive of dying. The society you mold, you mold for yourself.
----Russell Baker-------
.
- Follow-Ups:
- Re: Cant trap Exception.
- From: Karl A. Sorensen
- Re: Cant trap Exception.
- References:
- Cant trap Exception.
- From: Karl A. Sørensen
- Cant trap Exception.
- Prev by Date: Cant trap Exception.
- Next by Date: Re: Using TADOQuery for select using two tables
- Previous by thread: Cant trap Exception.
- Next by thread: Re: Cant trap Exception.
- Index(es):
Relevant Pages
|