Subject Re: [IBO] Refresh question
Author Woody (TMW)
[snipped]
>
> I also make use of the AfterAction event on the IB_UpdateBar. I check if
the
> 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 a
> record, the value of the Generator has been increased, not by one, but by
> two.

Generally, this is caused by having both a trigger on the insert of the
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)