Subject | RE: [IBO] Fw: Newbie's Generator Question |
---|---|
Author | Bill Morrison |
Post date | 2001-08-01T16:44:17Z |
I assume by function you mean a Delphi function.
If this is the case, then you can use a query and do
select GEN_ID(my_ib_generator,1) as the_generator_value from RDB$DATABASE
Also, I believe that there is a method you can call in later versions of
IBObjects that will do much the same thing, perhaps someone else on the list
will supply it.
HTH
Bill Morrison
-----Original Message-----
From: Burak OZLER [mailto:burak.ozler@...]
Sent: Wednesday, August 01, 2001 8:55 AM
To: IB Objects
Subject: [IBO] Fw: Newbie's Generator Question
Hi all...
I'm using generetors on table objects or query objects. But now I have
to use the generator in a function (Or a function that increment generator
and bring me the value) Have anyone any suggestion ...
PS: I try to select GEN_ID function but it doesnt works that I wanted
becouse I can call "any" generator at a time.
thanks
[Non-text portions of this message have been removed]
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
If this is the case, then you can use a query and do
select GEN_ID(my_ib_generator,1) as the_generator_value from RDB$DATABASE
Also, I believe that there is a method you can call in later versions of
IBObjects that will do much the same thing, perhaps someone else on the list
will supply it.
HTH
Bill Morrison
-----Original Message-----
From: Burak OZLER [mailto:burak.ozler@...]
Sent: Wednesday, August 01, 2001 8:55 AM
To: IB Objects
Subject: [IBO] Fw: Newbie's Generator Question
Hi all...
I'm using generetors on table objects or query objects. But now I have
to use the generator in a function (Or a function that increment generator
and bring me the value) Have anyone any suggestion ...
PS: I try to select GEN_ID function but it doesnt works that I wanted
becouse I can call "any" generator at a time.
thanks
[Non-text portions of this message have been removed]
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/