Subject | Re: [IBO] IB_SearchEdit and IB_Edit ! |
---|---|
Author | toninhonunes |
Post date | 2003-07-29T20:09:25Z |
> > 1) how are you filling the key field?first
> >
> >I put the data via keyboard in the IB_Edit. This IB_Edit is my
> >field that is also the Keyfield on the Form and in the event OnExitgetting a
> >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
> key violation through this, I would say that the application thinksyou are
> trying to INSERT the row, not find it.Key
>
> Why do you think the query is in Search state?
>
> What is the statement that appears in the monitor just before the
> Violation exception occurs?Hi Hellen,
>
> Helen
I've discovered the problem, the property of TIB_Edit "SearchAlways"
is enabled = true, setting it to false and the problem was solved.
Thanks,
Toninho Nunes