Subject Getting the value of a generator
Author Craig Cox
(Firebird 1.5+, Delphi XE, IBOjects)

I'm guessing there is a very simple answer to this problem.

I want to get the current generator value of one table, increment it in Delphi and use the new value in another table. I thought the GeneratorValue() method looked promising, but I may not understand it well enough to use it properly. If you can tell me how to get the value of the generator, I think I can figure out the rest.