Subject Re: [IBO] IB_Query - wrong ID assigned
Author Lester Caine
malyv2 wrote:

>>>I have IB_Query, IB_Grid and IB_UpdateBar.
>>>
>>>ID_VYKON is a primary key.
>>>
>>>IB_Query:
>>> FieldsReadOnly.Add('ID_VYKON=True');
>>> GeneratorLinks.Add('ID_VYKON = GEN_CISVYKONY');
>>> KeyLinks.Add('ID_VYKON');
>>> KeyLinksAutoDefine := False;
>>>1. Insert record - I can see assigned ID_VYKON in grey field -
> that's OK
SNIP

> thank for your reply, but it is not solving that problem. I had this
> trigger excatly as you wrote. It is maybe a bug.

Just to clarify - If you don't mark the field Read Only then it works
fine, when you do the extra count happens?

Sounds as if the GeneratorLinks are getting upset by the ReadOnly flag.

--
Lester Caine
-----------------------------
L.S.Caine Electronic Services