Subject | Re: [IBO] Generator Links/Next Value |
---|---|
Author | Helen Borrie |
Post date | 2004-10-21T12:45:37Z |
At 10:18 PM 21/10/2004 +1000, you wrote:
your AfterInsert. Both the statement and the connection have a Gen_ID()
method. Its arguments are just like those of Firebird's GEN_ID function,
except you need to quote the generator name, of course...
Helen
>I need to increment my PKs by 10,000 each time not 1. Can someone tell meFor this, instead of setting GeneratorLinks, call the Gen_ID() function in
>the best place to ensure that generatorlinks gets the next (10,000
>incremented) value?
>is there some syntax in the generator links box or something?
your AfterInsert. Both the statement and the connection have a Gen_ID()
method. Its arguments are just like those of Firebird's GEN_ID function,
except you need to quote the generator name, of course...
Helen