Subject Re: [ib-support] Errors. Messages using BDE
Author Ernesto Cullen
Take a look at
ges.htm. It's for IBX, but it can give you an idea of how to change IB's
error messages

Ernesto Cullen
Parana - Entre Rios - Argentina

----- Original Message -----
From: "mivi71dk" <Michael.Vilhelmsen@...>
To: <>
Sent: Tuesday, July 30, 2002 8:49 AM
Subject: [ib-support] Errors. Messages using BDE

> Hi
> When programmering up against a Firebird DB using D5 own DB Comp via
> BDE, I do my Insert, Updates, deletes etc in a Try Except rutine.
> My except part has a:
> E: Exception.
> This just returns a Error message which somewhere contains a SQLCode.
> I tried swithing to E: EUpdateError, since this has a E.SQLCode
> directly.
> But then it doesn't stop in my exception part but rather in my
> global exception part.
> Is there any other way to retrieve the SQLCode besides parsing to
> the message string to find the actual number ?
> Michael