Subject | Re: [IBO] Wrong record after insert a record |
---|---|
Author | rui_alidata |
Post date | 2003-09-15T16:57:16Z |
I'm creating the primary key in a trigger before insert.
There are any way to solve this problem?
Thanks,
Rui Batista
There are any way to solve this problem?
Thanks,
Rui Batista
--- In IBObjects@yahoogroups.com, Lester Caine <lester@l...> wrote:
> > I'm using IBObjects 4.2 Ie and I'm a problem:
> > I'm positioned on record, and I goto state insert to create a
new
> > record.
> > When I post the record, the cursor moves to previous record
before
> > insert.
> >
> > Anyone can explain why this happen!?
>
> How are you creating the primary key for the record?
> If this is not created automatically, then IBO will not know
> how to select the new record.
> I use a generator and attach it via 'generator link', so
> that IBO knows which new record to switch to following the post.
>
> --
> Lester Caine
> -----------------------------
> L.S.Caine Electronic Services