Subject | Getting the value of a generator |
---|---|
Author | Craig Cox |
Post date | 2012-04-12T21:54:20Z |
(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.
Thanks
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.
Thanks