Subject | Re: [IBO] Howto manually update control when detail dataset changes |
---|---|
Author | mirco@intellitec.de |
Post date | 2001-11-23T15:40:55Z |
> > It works yes, but you miss the point thatit is
> > 'master dataset scroll' is not equal to 'detail dataset requery'.
>
> Why?
>
> When you scroll the master record in a master-detail relationship
> re-querying the detail query, otherwise you wouldn't see the detailCorrect, but if a=>b it doesn't mean b=>a. If the master record
> records for the current master but something else.
>
scrolls, the detail requeries (a=>b), but that doesn't mean that each
time the detail requeries, the master did a scroll before (not b=>a).
> > Scrolling the master dataset is *one* event to trigger a requery.As described below: suppose the master is a detail itself, then the
> > There are others.
>
> Which ones?
>
requery of my detail takes place without scrolling the the master.
There may be other events as well, e.g. a requery initiated by the
user (pressing a refresh button, ...).
>This is what I am looking for.
> Maybe the refresh action of the Detail Query will do what you want.
> For example if you have "raOpen" then you can trigger the event inThat sounds good. I will give it a try.
> the OnAfterOpen of the Detail-Query.
Mirco