Subject Re: [IBO] Re: TIBOQuery Question
Author Daniel Rail
Hi,

At July 1, 2003, 12:43, stewartwarren wrote:

> Here's more info on the problem I posted earlier (see below). I
> tried changing the query's CommitAction property from
> caInvalidateCursor to caFetchAll. This allows me to insert records
> into the dataset, but when I try to save to the database, and
> exception is thrown. The error message is:
> "EDatabase Error with message chargesqry Record not found". The
> debugger stops in the procedure TIBODataset.ResyncMode. The
> exception is thrown by the line "inherited Resync( Mode );".

> Does anyone know what this is all about?

Do you have a primary key, or unique key, in your query that would
uniquely identify the record? And, is that key in the
TIBOQuery.KeyLinks property? Sometimes, you have to define KeyLinks
manually.

--
Best regards,
Daniel Rail
Senior System Engineer
ACCRA Group Inc. (www.accra.ca)
ACCRA Med Software Inc. (www.filopto.com)