Subject Re: [firebird-support] OOT : how to show GDSCODE in Delphi6
Author ichiro kobayashi
I mean if my syntax like this :

with IBquery1 do begin
close; sql.clear;
sql.add('DO Something');
try ExecSQL;
except on E:Exception do
MessageDlg(E.Message, mtError, [mbOK],0);
end;
close;
end;

then it shows Error Mesage "token unknown"

question : how to show the GDSCODE that it should be "335544634"

btw, thank you Mr Sibiryakov !

On 7/15/09, Dimitry Sibiryakov <sd@...> wrote:
>> how to show the GDSCODE when my application raise an exception ? (while
>> execute query)
>
> RTFM EIBError.IBErrorCode.
>
> SY, SD.
>
>
> ------------------------------------
>
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>
> Visit http://www.firebirdsql.org and click the Resources item
> on the main (top) menu. Try Knowledgebase and FAQ links !
>
> Also search the knowledgebases at http://www.ibphoenix.com
>
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> Yahoo! Groups Links
>
>
>
>