Subject Re: [IBO] Display "user" Error Message
Author Dmitry Beloshistov
You may use:
TIB_Database.OnError event...

WBR, Dmitry Beloshistov AKA [-=BDS=-]
e-mail: torin@...


----- Original Message -----
From: "pelleliljendal" <pelle@...>
To: <IBObjects@yahoogroups.com>
Sent: Tuesday, December 18, 2001 4:09 PM
Subject: [IBO] Display "user" Error Message


> If/When a Lock-Error is preset a Dialog-box is presented saying
> something like (e.g. trying to add a record to a grid that "all ready
> exists"):
> <SNIP>
> ISC ERROR CODE:335544345
>
> ISC ERROR MESSAGE:
> Lock conflict on no wait transaction
> attempt to store dublicate value (visible to active transaction) in
> unique index "USERS_IDX"
>
> STATEMENT:
> TIB_Statement: <TApplication>.FormDiasIboTestMail.FormDhCha.
> </SNIP>
>
> The error message presented above is OK for me, when
> developing/testing the application however I would like to present
> a "more simple version" of the end-users of my application. Where do
> I intercent these error messages?
>
>
>
>
___________________________________________________________________________
> IB Objects - direct, complete, custom connectivity to Firebird or
InterBase
> without the need for BDE, ODBC or any other layer.
>
___________________________________________________________________________
> http://www.ibobjects.com - your IBO community resource for Tech Info
papers,
> keyword-searchable FAQ, community code contributions and more !
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>