Subject | Re: [IBO] Refresh question |
---|---|
Author | Woody (TMW) |
Post date | 2004-12-09T22:49:28Z |
[snipped]
table and a generator link in the code portion handling your inserts. Since
you want IBO to take care of incrementing the generator (setting the
GeneratorLinks property), if a trigger also exists, but doesn't test for a
value already in the field, it will also increment the generator.
HTH
Woody (TMW)
>the
> I also make use of the AfterAction event on the IB_UpdateBar. I check if
> post button was click, if true, I call Refresh() on the IB_Query. However,I
> am obviously doing this the wrong way, since the next time the user adds aGenerally, this is caused by having both a trigger on the insert of the
> record, the value of the Generator has been increased, not by one, but by
> two.
table and a generator link in the code portion handling your inserts. Since
you want IBO to take care of incrementing the generator (setting the
GeneratorLinks property), if a trigger also exists, but doesn't test for a
value already in the field, it will also increment the generator.
HTH
Woody (TMW)