Subject Re: [IBO] Questions about transactions and generators
Author Helen Borrie
At 01:13 PM 22/05/2004 +1000, you wrote:
>Helen,
>So, to clarify my understangin of GeneratorLinks:
>Where GeneratorLinks are used, IBO is using GenId() to grab the generator
>value, then explicitly setting the PK columns value on the client side,
>rather than relying on a GenId() in a BeforeInsert trigger to update the PK?

Yes; and I should also have mentioned that you must clean up your Before
Insert trigger if you have not done so already, viz.

IF (NEW.MyTablePK <> NULL) THEN
NEW.MyTablePK = GEN_ID(GenMyTable, 1);