Subject Re: A new try to explain better the topic - [IBO] TIBOQuery.Edit would must to call always AfterPost with Next call
Author Miguel
Jason, the master dataset is in edit state without any field changed and I
move to the next record and after post isn't called. If I modify any field,
by example masterdataset.fields[0].value:=masterdataset.fields[0].value and
I move to the next record the after post is called.

Any solution?

Thank you Jason!

----- Original Message -----
From: "Jason Wharton" <jwharton@...>
To: <IBObjects@yahoogroups.com>
Sent: Monday, December 24, 2001 7:59 PM
Subject: Re: A new try to explain better the topic - [IBO] TIBOQuery.Edit
would must to call always AfterPost with Next call


> > I have a form with a master detail relation. I haven't autocommit.
> When
> > I edit the detail I force the master to edit because the master
afterpost
> > event does the transaction commitretaining, if the user cancel the
master
> I
> > do a rollbackretainning. I have a problem, if I edit the master but no
> field
> > in the master is updated, IBO don't do the master afterpost and I think
> that
> > IBO would must to do.
> >
> > Any idea? I hope that my second try will be better. My english is
> > limited.
>
> It is probably doing a Cancel of an insert as a result of a
> BrowseCurrentRecord event.
> If you are in an edit state and you actually Post it, you will get an
> AfterPost event.
>
> Jason Wharton
> CPS - Mesa AZ
> http://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/
>