Subject | Re: [IBO] Fw: Newbie's Generator Question |
---|---|
Author | Markus Ostenried |
Post date | 2001-08-01T16:44:45Z |
Hi,
have you tried this ?
var
iGenValue: Integer;
begin
iGenValue := IB_Query1.GeneratorValue( 'NameOfYourGenereator', 1 );
end;
You can also call "TIB_Connection.GeneratorValue()"
HTH,
Markus
At 18:54 01.08.2001 +0300, you wrote:
have you tried this ?
var
iGenValue: Integer;
begin
iGenValue := IB_Query1.GeneratorValue( 'NameOfYourGenereator', 1 );
end;
You can also call "TIB_Connection.GeneratorValue()"
HTH,
Markus
At 18:54 01.08.2001 +0300, you wrote:
>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