Subject Re: [IBO] Working with Generators
Author Edson Luis Gonçalez
Thanks Hellen and All,
now in the IBO home-page
i see in FAQ's section your sugestion:

IBOQuery1.ParamByName('IDField').AsInteger :=
GeneratorValue(MyGenerator,100);
or
IBOQuery1.ParamByName('IDField').AsInteger := Gen_ID(MyGenerator,100);

Regards.

Edson Luis Gonçalez
Ribeirão Preto / SP / Brazil

----- Original Message -----
From: "Helen Borrie (TeamIBO)" <helebor@...>
To: <IBObjects@yahoogroups.com>
Sent: Thursday, April 11, 2002 9:15 AM
Subject: RE: [IBO] Working with Generators


> At 01:51 PM 11-04-02 +0100, Martyna Kancleris wrote:
> >I dont use trigger's and use this code to retrieve generator value
>
> [..snip huge function...]
>
> You don't need to do this! IBOQuery has its GeneratorLinks property
published.
>
> regards,
> Helen Borrie (TeamIBO Support)
>
> ** Please don't email your support questions privately **
> Ask on the list and everyone benefits
> Don't forget the IB Objects online FAQ - link from any page at
> www.ibobjects.com
>
>
>
>
___________________________________________________________________________
> IB Objects - direct, complete, custom connectivity to Firebird or
InterBase
> without the need for BDE, ODBC or any other layer.
>
___________________________________________________________________________
> http://www.ibobjects.com - your IBO community resource for Tech Info
papers,
> keyword-searchable FAQ, community code contributions and more !
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.345 / Virus Database: 193 - Release Date: 09/04/2002