Subject RE: [IBO] Generator Links/Next Value
Author Alan McDonald
> >I need to increment my PKs by 10,000 each time not 1. Can someone tell me
> >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?
> For this, instead of setting GeneratorLinks, call the Gen_ID()
> function in
> 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