Subject How get IB Error?
Author enio_bueno
Hi to all

I have a following problem, when my application (Delphi) insert a
row, using a sotored procedure and there is a problem like a
violation foreign key, my application receive this message error
[invalid BLOB ID].
In my app I use:
try
stp.ExecProc;
except
on E: Exception do ShowMessage(E.Message);
end;

If I perform the same stored with same parameters directly in
IBConsole I receive this message error [Violation of FOREIGN KEY
constraint "FK_EXAME_MEDICO" on table "EXAME"].

How can I get the second message in Delphi?

thanks to all