Subject RE: [IBO] Master/Detail - AfterOpen
Author Alan McDonald
when TQuery is used in M/D setups, the detail dataset fires a beforeclose,
then an afteropen everytime the master is scrolled. IBQuery does the same.
Whether or not they actually close, then re-open I have never checked. I've
been using these events in this way ever since D1 and localinterbase.

Alan

-----Original Message-----
From: Jason Wharton [mailto:jwharton@...]
Sent: Tuesday, 14 January 2003 1:12 PM
To: IBObjects@yahoogroups.com
Subject: Re: [IBO] Master/Detail - AfterOpen


What does TQuery do?

Jason Wharton
CPS - Mesa AZ
http://www.ibobjects.com

-- We may not have it all together --
-- But together we have it all --


----- Original Message -----
From: "Alan McDonald" <alan@...>
To: <IBObjects@yahoogroups.com>
Sent: Monday, January 13, 2003 5:03 PM
Subject: RE: [IBO] Master/Detail - AfterOpen


> Thanks Jason,
> yes - I've been watching a monitor on this and I can see detail set is
> reming active with cursor opening activity...
> I'm afraid I was locked into the old way of always seeing the detail
close,
> then re-open when the master scrolls. No matter I am quite happy with this
> now too.
>
> Alan
>
> -----Original Message-----
> From: Jason Wharton [mailto:jwharton@...]
> Sent: Tuesday, 14 January 2003 10:41 AM
> To: IBObjects@yahoogroups.com
> Subject: Re: [IBO] Master/Detail - AfterOpen
>
>
> Once a detail dataset is Active it remains Active even when the master
> dataset is changing from record to record.
>
> Technically, on the server there is a new cursor opened but that doesn't
> necessarily have to correspond with the dataset itself doing an open and
> close.
>
> There clearly is a separation between what the server requires and what
> shows up in the client dataset mechanism.
>
> Jason Wharton
> CPS - Mesa AZ
> http://www.ibobjects.com
>
> -- We may not have it all together --
> -- But together we have it all --
>
>
> ----- Original Message -----
> From: "Alan McDonald" <alan@...>
> To: <IBObjects@yahoogroups.com>
> Sent: Saturday, January 11, 2003 3:16 PM
> Subject: RE: [IBO] Master/Detail - AfterOpen
>
>
> > Lester,
> > don't get me wrong.. I'm purely fascinated by this. I'd love to know how
> you
> > change a masterlink parameter without closing and opening (refreshing)
the
> > detail dataset OR I suspect that the call to these events are missing -
I
> > cetainly haven't dug into the source to verify.
> >
> > There is no doubt that things are fast under this model and I don't
often
> do
> > things afteropen or before close but they should be called if that is
> indeed
> > what is happening.
> > Alan




___________________________________________________________________________
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/