IBDAC
Used to get the error code which resulted from the previous call to the InterBase server.
TIBCConnection
property LastError: integer;
Use the LastError property to get the error code which resulted from the previous call to the InterBase server.