Subject | Re: [IBO] Wrong record after insert a record |
---|---|
Author | rui_alidata |
Post date | 2003-09-16T18:24:43Z |
Hi!
The problem is I can't use a generator, because the number is not
sequential. I must use a "trigger before insert" to calculate the
primary key.
Thanks,
Rui Batista
The problem is I can't use a generator, because the number is not
sequential. I must use a "trigger before insert" to calculate the
primary key.
Thanks,
Rui Batista
--- In IBObjects@yahoogroups.com, "Artur Anjos" <artur@a...> wrote:
> Rui,
>
> You should create them in the client, before the trigger, so IBO
can know
> the value, and get the row usint it. Use property GeneratorLinks
for that.
>
> Artur
> (Very glad to see another portuguese on this list)
>
> ----- Original Message -----
> From: "rui_alidata" <rui.batista@a...>
> To: <IBObjects@yahoogroups.com>
> Sent: Monday, September 15, 2003 5:57 PM
> Subject: Re: [IBO] Wrong record after insert a record
>
>
> > I'm creating the primary key in a trigger before insert.
> > There are any way to solve this problem?
> >
> > Thanks,
> >
> > Rui Batista