Subject Re: [IBO] expressions in generatorlinks?
Author rob@bullrunsoftware.com
Yup, that's what I ended up doing.

thanks Geoff!

Rob

--- In IBObjects@y..., "Geoff Worboys" <geoff@t...> wrote:
> > but I'll ask anyway...Is it possible to use generator
> > links and use it such that the values of two or more
> > generators are added together to construct the priamry
> > key?
>
> Not AFAIK. However instead of using GeneratorLinks you can probably
> achieve what you want using hte OnNewRecord event handler.
>
> That is; Use the TIB_Connection.Gen_ID function to retrieve the
> generator values required yourself in the OnNewRecord event, add
them
> together and assign to the key field. I think this will give
> equivalent processing to what Jason does with GeneratorLinks.
>
> HTH
>
> Geoff Worboys
> Telesis Computing