Subject | RE: [IBO] ? Reason for error message. - 'Executing already or not in Passive mode' |
---|---|
Author | Adrian Wreyford |
Post date | 2006-12-18T20:14:55Z |
Thanks ..Setting to -1 delayed the error popping up, but after multiple
records have scrolled, it pops up anyway.
Adrian
-----Original Message-----
From: IBObjects@yahoogroups.com [mailto:IBObjects@yahoogroups.com] On
Behalf Of Jason Wharton
Sent: 18 December 2006 08:29 PM
To: IBObjects@yahoogroups.com
Subject: RE: [IBO] ? Reason for error message. - 'Executing already or
not in Passive mode'
called
in such a way that it is recursing back to itself when it shouldn't do
that.
If you are in passive mode then calling Execute just processes one bit
of
work and then releases control knowing that it will have additional
calls
until it has completed execution in full. You can call Execute multiple
times when in passive mode. Though, it should not recursively call
itself.
My guess is you should set the CallbackInc to -1 on that query to
disallow
the possibility of calls getting stacked up in a way that leads to
recursion.
Jason
[Non-text portions of this message have been removed]
records have scrolled, it pops up anyway.
Adrian
-----Original Message-----
From: IBObjects@yahoogroups.com [mailto:IBObjects@yahoogroups.com] On
Behalf Of Jason Wharton
Sent: 18 December 2006 08:29 PM
To: IBObjects@yahoogroups.com
Subject: RE: [IBO] ? Reason for error message. - 'Executing already or
not in Passive mode'
> raise Exception.Create( 'Executing already or not in PassiveThe technical reason for this message is the Execute method is being
> mode' ); in
> module IB_Process is being raised, while I'm scolling through
> a dataset,
> while viewing graphs attached to the dataset using TeeChartPro.
>
> The graphs are displayed correctly, and update each time the cursor is
> moved to the next record.
>
> This error only occurs if you hold down the mouse key while
> clicking on
> next record in the IB_Navigationbar, and after a few records have been
> displayed (scrolled through) the error suddenly appears.
>
> I've never noted this one before.
>
> I use Ib_query to select the data from a table, then populate another
> Table programmatically for the actual graph display, then access this
> same table using IBOQuery.
called
in such a way that it is recursing back to itself when it shouldn't do
that.
If you are in passive mode then calling Execute just processes one bit
of
work and then releases control knowing that it will have additional
calls
until it has completed execution in full. You can call Execute multiple
times when in passive mode. Though, it should not recursively call
itself.
My guess is you should set the CallbackInc to -1 on that query to
disallow
the possibility of calls getting stacked up in a way that leads to
recursion.
Jason
[Non-text portions of this message have been removed]