Hello
I use IBDAC 6.2.8 and i want if it possible to tell me a way for a more specific error code (note the general -902) returning from an Firebird server (like GDSCODE OR symbol) when using the TIBCConnection.LasteError or E.ErrorCode (from the TCustomDAConnection.OnError Event).
T.I.A
Sakis
More specific Error Code from LastError Propert
Re: More specific Error Code from LastError Propert
To get GDSCODE use the EIBCError.ErrorNumber property. Example:
Note that to run this code, you should add the Uni and IBCError unit to the USES clause of your unit.
Code: Select all
if E is EIBCError then
GDSCODE := EIBCError(E).ErrorNumber;
Re: More specific Error Code from LastError Propert
Sorry for the delay
Works perfect!!!!!!!!!!!!!!
Many Thanks
Sakis
Works perfect!!!!!!!!!!!!!!
Many Thanks
Sakis
Re: More specific Error Code from LastError Propert
Thank you for the interest to our product.
Feel free to contact us if you have any further questions about our products.
Feel free to contact us if you have any further questions about our products.