Subject Re: [ib-support] Errors. Messages using BDE
Author Nando Dessena
Michael,

> 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.

switch to EDBEngineError which has all the information you require(*);
its Errors property contains both server-specific codes and BDE/generic
codes. Consult BDE.int in your Delphi/CPPBuilder Doc directory for a
full listing of all the BDE codes, and IB/FB documentation for native
error codes.

(*) I don't know if the SQLCode gets passed back, I have always used BDE
codes and IB codes.
Ciao
--
____
_/\/ando