Subject | Re: [ib-support] Errors. Messages using BDE |
---|---|
Author | Ernesto Cullen |
Post date | 2002-07-30T14:56:33Z |
Take a look at
http://mcgilbert.netfirms.com/ARTICULOS/Changing%20Interbase%20error%20messa
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
http://mcgilbert.netfirms.com
http://mcgilbert.netfirms.com/ARTICULOS/Changing%20Interbase%20error%20messa
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
http://mcgilbert.netfirms.com
----- Original Message -----
From: "mivi71dk" <Michael.Vilhelmsen@...>
To: <ib-support@yahoogroups.com>
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
>