Subject Re: [IBO] RePost : Cannot delete current row
Author Luiz
FOREIGN KEY constraints errors are comming from server.

You can be trying delete a record that violate the rules of referencial
integrity of your database.

You could look at in your database triggers and constraints where is the
problem.

Luiz.

----- Original Message -----
From: <nschoemaker@...>
To: <IBObjects@yahoogroups.com>
Sent: Tuesday, February 04, 2003 6:08 PM
Subject: [IBO] RePost : Cannot delete current row


> Hi,
>
> Trying to delete a record with a foreign key constraint, gives me
> the "normal" violation of FOREIGN KEY constraint error.
>
> Retrying to delete the same record after this gives me an exception,
> raised by IBO, "Cannot delete current row".
>
> If i navigate to an other record(or refresh that record) and back i
> get the "normal" error again.
>
> This has to do with the state of the row that after the first delete
> becomes rsNone.
>
> (Using IBOQuery)
>
> Is this a known issue ?
>
> Nico.
>
>
>
>
>
>
___________________________________________________________________________
> 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/
>
>
>