Subject RE: [IBO] Re: Refreshing parameterised IB_Query when params change
Author Alan McDonald
Helen,
I'm not saying it's where I would assign parameters - it's just that these
events are not firing where I expect them to.
Alan

-----Original Message-----
From: Helen Borrie [mailto:helebor@...]
Sent: Friday, 28 February 2003 11:31 PM
To: IBObjects@yahoogroups.com
Subject: RE: [IBO] Re: Refreshing parameterised IB_Query when params
change


At 11:20 PM 28/02/2003 +1100, you wrote:
>Marco, Have you checked to make sure that BeforeOpen fires when you expect
>it to? I had to change my usual plan of attack on this because it does not
>fire e.g. in the detail dataset when the master scrolls. So it may not fire
>when you expect it to either.

In a standard IBO master-detail you don't use parameter assignments - IBO
takes care of these itself in an internal event. But, even if you decided
to do it yourself, IBX-style and not use masterlinking or
masterparamlinking, it wouldn't make any sense to do the parameter
assignments in BeforeOpen. You would do them in the AfterScroll, to ensure
that all the invalidation and revalidation was finished and the new master
parameter(s) were available...

Helen




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