Subject RE: [IBO] ? Reason for error message. - 'Executing already or not in Passive mode'
Author Adrian Wreyford
Thanks ..Setting to -1 delayed the error popping up, but after multiple
records have scrolled, it pops up anyway.


-----Original Message-----
From: [] On
Behalf Of Jason Wharton
Sent: 18 December 2006 08:29 PM
Subject: RE: [IBO] ? Reason for error message. - 'Executing already or
not in Passive mode'

> raise Exception.Create( 'Executing already or not in Passive
> 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.

The technical reason for this message is the Execute method is being
in such a way that it is recursing back to itself when it shouldn't do

If you are in passive mode then calling Execute just processes one bit
work and then releases control knowing that it will have additional
until it has completed execution in full. You can call Execute multiple
times when in passive mode. Though, it should not recursively call

My guess is you should set the CallbackInc to -1 on that query to
the possibility of calls getting stacked up in a way that leads to


[Non-text portions of this message have been removed]