Subject Re: [IBO] IBOTable: Record not located for update
Author Robert Osowiecki
Lester Caine wrote:

>Client/Server database working is completely different to BDE !
>
>
But I read promices, that TIBO* components are compatibile :). Well, OK,
I'm not going to complain about it, because other IBO advatages are great.

>In order to access the record using a value generated in the server, you
>need to know what it is. But if you let the server generate it when you
>add the record, then you don't know it's value.
>SO in order for IBO to be able to handle a new record it has
>GeneratorLink
>
That's new matter for me... is GeneratorLink some kind of property?

>CREATE TRIGGER "APPOINTIDINSERT" FOR "APPOINTMENT"
>ACTIVE BEFORE INSERT POSITION 0
>AS
>BEGIN
> IF ( NEW.APPOINT_ID IS NULL OR NEW.APPOINT_ID = 0 ) THEN
> BEGIN
> NEW.APPOINT_ID = GEN_ID(CONTENT_ID_GEN, 1);
> END
>END
>
>
>
May trigger looks exactly like that (the same source?). I'll check that
GeneratorLink you mentioned.
Thanks!

R.