Subject Re: [IBO] (unknown)
Author Jason Wharton
Do you get an OnUpdateError notification for the dataset?

Jason Wharton
CPS - Mesa AZ
http://www.ibobjects.com


----- Original Message -----
From: <kazikmail@...>
To: <IBObjects@yahoogroups.com>
Sent: Wednesday, February 07, 2001 7:05 AM
Subject: [IBO] (unknown)


Dear ib-group!

I´m using:
- Delphi 5 c/s
- Interbase WI-V6.0.0.627
- IB-Objects Version 3.6.Cd
TIB_Connection, TIB_Transaction, a derivate of IBOQuery
using cached updates.

I have a question concerning the OnError-event and IBO.

When updating a record i want to catch the EIB_DatasetError raised
if the record to be updated wasn`t found (an other user has changed
the record in the meantime). I get a "Record was not located to
update" message; that´s ok, but none of the OnError-events assigned
to the TIB_Connection, TIB_Transaction and IBOQuery fires if this
exception occurs.
So how to make the OnError-event to be fired?

Can someone help me with this?

Kasimier Buchcik

buchcik@...