Page 1 of 1

How to get Eorror Code for Firebird GDSCODE

Posted: Sat 26 May 2018 03:26
by z.j
How to get Eorror Code for Firebird GDSCODE

Re: How to get Eorror Code for Firebird GDSCODE

Posted: Tue 29 May 2018 11:04
by ViktorV
To get GDSCODE use the EIBCError.ErrorNumber property. Example:

Code: Select all

if (E is EUniError) and (EUniError(E).InnerError is EIBCError) then
  GDSCODE := EIBCError(EUniError(e).InnerError).ErrorNumber;
Note that to run this code, you should add the Uni and IBCErrorUni unit to the USES clause of your unit.

Re: How to get Eorror Code for Firebird GDSCODE

Posted: Thu 31 May 2018 14:39
by z.j
Thanks

Re: How to get Eorror Code for Firebird GDSCODE

Posted: Thu 31 May 2018 14:42
by ViktorV
Thank you for the interest in our products.
If you have any questions during using our products, please don't hesitate to contact us - and we will try to help you solve them.