Subject Re: [IBO] IB_SearchEdit and IB_Edit !
Author Helen Borrie
At 04:07 AM 26/07/2003 +0000, you wrote:
> >
> > 1) how are you filling the key field?
>
>I put the data via keyboard in the IB_Edit. This IB_Edit is my first
>field that is also the Keyfield on the Form and in the event OnExit
>of TIB_Edit I open the IB_Query and the record is fetched. The
>IB_Query is in the state Search, I don't use SearchBar component.

This seems wrong. You can't search a closed dataset. If you are getting a
key violation through this, I would say that the application thinks you are
trying to INSERT the row, not find it.

Why do you think the query is in Search state?

What is the statement that appears in the monitor just before the Key
Violation exception occurs?

Helen